summaryrefslogtreecommitdiffstats
path: root/gtk/src/callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/callbacks.c')
-rw-r--r--gtk/src/callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index a2854dcad..8009b3610 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -205,7 +205,7 @@ ghb_check_dependency(
if (widget != NULL)
{
- type = GTK_WIDGET_TYPE(widget);
+ type = G_OBJECT_TYPE(widget);
if (type == GTK_TYPE_COMBO_BOX || type == GTK_TYPE_COMBO_BOX_ENTRY)
if (gtk_combo_box_get_active(GTK_COMBO_BOX(widget)) < 0) return;
name = ghb_get_setting_key(widget);