summaryrefslogtreecommitdiffstats
path: root/gtk/src/ghbcompositor.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/ghbcompositor.c')
-rw-r--r--gtk/src/ghbcompositor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/ghbcompositor.c b/gtk/src/ghbcompositor.c
index d1517340c..8bc455b9e 100644
--- a/gtk/src/ghbcompositor.c
+++ b/gtk/src/ghbcompositor.c
@@ -291,7 +291,7 @@ showtype(const gchar *msg, GtkWidget *widget)
GType type;
gchar *str;
- type = GTK_WIDGET_TYPE(widget);
+ type = G_OBJECT_TYPE(widget);
if (type == GTK_TYPE_DRAWING_AREA)
str = "drawing area";
else if (type == GTK_TYPE_ALIGNMENT)