summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/src/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c
index 198fded6a..cd2d21eb6 100644
--- a/gtk/src/settings.c
+++ b/gtk/src/settings.c
@@ -196,7 +196,7 @@ ghb_get_setting_key(GtkWidget *widget)
if (widget == NULL) return NULL;
name = gtk_buildable_get_name(GTK_BUILDABLE(widget));
- if (name == NULL)
+ if (name == NULL || !strncmp(name, "Gtk", 3))
{
name = gtk_widget_get_name(widget);
}