projects
/
hildon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adding number editor example. Free the list used to detach menus. Fixes the MB#1065.
[hildon]
/
examples
/
hildon-color-button-example.c
diff --git
a/examples/hildon-color-button-example.c
b/examples/hildon-color-button-example.c
index
e534934
..
f455fa9
100644
(file)
--- a/
examples/hildon-color-button-example.c
+++ b/
examples/hildon-color-button-example.c
@@
-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;
}