Re: A toggled toggle button visually almost indistinct from untoggled

2017-04-18 Thread Eric Cashon via gtk-list
Hi Dan, You can draw on the toggle button window, use an event box or use a drawing area to create a toggle button with any color that you like. Here is a short C example of drawing on a toggle button window.

Re: A toggled toggle button visually almost indistinct from untoggled

2017-04-18 Thread Dan Stromberg
On Thu, Apr 13, 2017 at 3:55 PM, Emmanuele Bassi wrote: > > The default Adwaita theme has a fair distinction between states: > > https://i.imgur.com/6bg9eNc.png I switched to the Adwaita theme on both systems. But it's still pretty hard to tell if a toggle button has been

Re: Strict aliasing, yes or no?

2017-04-18 Thread Emmanuele Bassi
I added the compiler warnings by merging what I use in libepoxy, graphene, json-glib, and what's in the existing autotools build. That was done mostly to get the ball rolling, not as a commentary on whether strict aliasing rules are good or bad. In general, I'd expect us to review the compiler

Strict aliasing, yes or no?

2017-04-18 Thread Daniel Boles
Just wondering what the position on this is. I've seen a few conflicting indications: (1) The new meson patches pass -fno-strict-aliasing to GCC and Clang: https://git.gnome.org/browse/gtk+/commit/?h=wip/meson=1e3daf3178bb3db56ab12a55195969857f685101 The rationale is "We don't want to build buggy

Re: A toggled toggle button visually almost indistinct from untoggled

2017-04-18 Thread Dan Stromberg
On Mon, Apr 17, 2017 at 4:45 PM, Dan Stromberg wrote: > > On Thu, Apr 13, 2017 at 4:41 PM, Dan Stromberg > wrote: > >> On Thu, Apr 13, 2017 at 3:55 PM, Emmanuele Bassi >> wrote: >> >>> On 13 April 2017 at 23:44, Dan