Am 10.11.2022 um 20:40 schrieb Thiago Macieira:
On Thursday, 10 November 2022 00:23:52 PST Dennis Luehring wrote:
>      #1 0x7f08b15289a1 in g_object_get_valist ../glib/gobject/gobject.c:2659
>      #2 0x7f08b1529029 in g_object_get ../glib/gobject/gobject.c:2754
>      #3 0x7f08b3eee24b in gtkSetting<bool>

template <typename T>
static T gtkSetting(const gchar *propertyName)
     GtkSettings *settings = gtk_settings_get_default();
     T value;
     g_object_get(settings, propertyName, &value, NULL);
     return value;

The GLib line is:

       G_VALUE_LCOPY (&value, var_args, 0, &error);

Which uses this macro:

There's no support in it for boolean (1-byte) properties. The problem is that
f*&*!)ing Glib is written in C and refuses to use bool. They have:

typedef int    gint;
typedef gint   gboolean;

So their boolean is a 4-byte type.

Fixed in

your fix was rejected for 6.4.1
Interest mailing list

Reply via email to