Adding number editor example. Free the list used to detach menus. Fixes the MB#1065.
[hildon] / examples / hildon-color-button-example.c
index e534934..f455fa9 100644 (file)
@@ -47,6 +47,11 @@ main                                            (int argc,
 
     gtk_widget_show_all (GTK_WIDGET (dialog));
     gtk_dialog_run (dialog);
+
+    GdkColor *color;
+    g_object_get (G_OBJECT (button), "color", &color, NULL);
+
+    g_debug ("Color is: %d %d %d", color->red, color->green, color->blue);
     
     return 0;
 }