diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c index 36a450ce80..9fc1d38dac 100644 --- a/gtk/gtksettings.c +++ b/gtk/gtksettings.c @@ -1947,8 +1947,8 @@ gtk_settings_get_property (GObject *object, */ if ((g_value_type_transformable (G_TYPE_INT, value_type) && !(fundamental_type == G_TYPE_ENUM || fundamental_type == G_TYPE_FLAGS)) || - g_value_type_transformable (G_TYPE_STRING, G_VALUE_TYPE (value)) || - g_value_type_transformable (GDK_TYPE_RGBA, G_VALUE_TYPE (value))) + g_value_type_transformable (G_TYPE_STRING, value_type) || + g_value_type_transformable (GDK_TYPE_RGBA, value_type)) { if (priv->property_values[property_id - 1].source == GTK_SETTINGS_SOURCE_APPLICATION || !gdk_screen_get_setting (priv->screen, pspec->name, value))