Update the application menu flag for application-wise windows
[hildon] / examples / hildon-icon-sizes-example.c
index d7d362f..ae54bc9 100644 (file)
@@ -8,7 +8,7 @@
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public License
  * as published by the Free Software Foundation; version 2.1 of
- * the License.
+ * the License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
 #include                                        <stdlib.h>
 #include                                        <glib.h>
 #include                                        <gtk/gtk.h>
-#include                                        "hildon.h"
+#include                                        <hildon/hildon.h>
 
 int
-main                                            (int argc, 
-                                                 char **args)
+main                                            (int argc,
+                                                 char **argv)
 {
-    gtk_init (&argc, &args);
+    hildon_gtk_init (&argc, &argv);
 
+    g_debug ("Extra small pixel size: %d", HILDON_ICON_PIXEL_SIZE_XSMALL);
     g_debug ("Small pixel size: %d", HILDON_ICON_PIXEL_SIZE_SMALL);
-    g_debug ("Wizard pixel size: %d", HILDON_ICON_PIXEL_SIZE_WIZARD);
+    g_debug ("Stylus pixel size: %d", HILDON_ICON_PIXEL_SIZE_STYLUS);
+    g_debug ("Finger pixel size: %d", HILDON_ICON_PIXEL_SIZE_FINGER);
+    g_debug ("Thumb pixel size: %d", HILDON_ICON_PIXEL_SIZE_THUMB);
+    g_debug ("Large pixel size: %d", HILDON_ICON_PIXEL_SIZE_LARGE);
+    g_debug ("Extra large pixel size: %d", HILDON_ICON_PIXEL_SIZE_XLARGE);
+#ifndef HILDON_DISABLE_DEPRECATED
     g_debug ("Toolbar pixel size: %d", HILDON_ICON_PIXEL_SIZE_TOOLBAR);
-    g_debug ("Note pixel size: %d", HILDON_ICON_PIXEL_SIZE_NOTE);
-    g_debug ("Big note pixel size: %d", HILDON_ICON_PIXEL_SIZE_BIG_NOTE);
-    
+#else
+    g_debug ("Toolbar pixel size: %d", HILDON_ICON_PIXEL_SIZE_FINGER);
+#endif
+
     return 0;
 }