[gtk] colorpicker: Fix gcc warning



commit 7ce7e5503f791c66ec174ced8c712dcbae50ff01
Author: Benjamin Otte <otte redhat com>
Date:   Tue Jul 31 07:24:45 2018 +0200

    colorpicker: Fix gcc warning

 gtk/gtkcolorpicker.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkcolorpicker.c b/gtk/gtkcolorpicker.c
index d57ffe016e..16055e144c 100644
--- a/gtk/gtkcolorpicker.c
+++ b/gtk/gtkcolorpicker.c
@@ -59,7 +59,7 @@ gtk_color_picker_new (void)
     picker = gtk_color_picker_shell_new ();
 
   if (picker)
-    g_debug ("Using %s for picking colors", g_type_name_from_instance (picker));
+    g_debug ("Using %s for picking colors", G_OBJECT_TYPE_NAME (picker));
   else
     g_debug ("No suitable GtkColorPicker implementation\n");
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]