Mercurial > pidgin.yaz
diff plugins/docklet/eggtrayicon.h @ 10779:777e42930797
[gaim-migrate @ 12402]
fix the docklet here also
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 04 Apr 2005 02:08:44 +0000 |
parents | e23909729192 |
children |
line wrap: on
line diff
--- a/plugins/docklet/eggtrayicon.h Mon Apr 04 00:48:44 2005 +0000 +++ b/plugins/docklet/eggtrayicon.h Mon Apr 04 02:08:44 2005 +0000 @@ -22,6 +22,7 @@ #define __EGG_TRAY_ICON_H__ #include <gtk/gtkplug.h> +#include <gtk/gtkversion.h> #include <gdk/gdkx.h> G_BEGIN_DECLS @@ -45,7 +46,10 @@ Atom selection_atom; Atom manager_atom; Atom system_tray_opcode_atom; + Atom orientation_atom; Window manager_window; + + GtkOrientation orientation; }; struct _EggTrayIconClass @@ -55,7 +59,7 @@ GType egg_tray_icon_get_type (void); -#if EGG_TRAY_ENABLE_MULTIHEAD +#if GTK_CHECK_VERSION(2,1,0) EggTrayIcon *egg_tray_icon_new_for_screen (GdkScreen *screen, const gchar *name); #endif @@ -69,7 +73,7 @@ void egg_tray_icon_cancel_message (EggTrayIcon *icon, guint id); - +GtkOrientation egg_tray_icon_get_orientation (EggTrayIcon *icon); G_END_DECLS