]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/eggtrayicon.h
Avoid outputting the assert message twice in non-GUI code.
[wxWidgets.git] / src / gtk / eggtrayicon.h
index ad8c9e809d87f2dd81aa62d0b995734d8bb6f78c..6c199b8599f393b3d7056fbb6bc273819a32934a 100644 (file)
@@ -27,7 +27,9 @@
 #define __EGG_TRAY_ICON_H__
 
 #include <gtk/gtkplug.h>
+#ifdef GDK_WINDOWING_X11
 #include <gdk/gdkx.h>
+#endif
 
 G_BEGIN_DECLS
 
@@ -47,10 +49,14 @@ struct _EggTrayIcon
 
   guint stamp;
   
+#ifdef GDK_WINDOWING_X11
   Atom selection_atom;
   Atom manager_atom;
   Atom system_tray_opcode_atom;
+  Atom orientation_atom;
   Window manager_window;
+#endif
+  GtkOrientation orientation;
 };
 
 struct _EggTrayIconClass
@@ -72,7 +78,7 @@ guint        egg_tray_icon_send_message   (EggTrayIcon *icon,
 void         egg_tray_icon_cancel_message (EggTrayIcon *icon,
                                           guint        id);
 
-
+GtkOrientation egg_tray_icon_get_orientation (EggTrayIcon *icon);
                                            
 G_END_DECLS