aboutsummaryrefslogtreecommitdiff
path: root/src/eggtrayicon.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-09-06 01:05:35 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-09-06 01:05:35 +0000
commitfd48feb0ea94e7c3cffc65094ff51fe4b7a89b59 (patch)
treeb43104fc93ce614f303663c75aee56f90cfd48e7 /src/eggtrayicon.h
parent9dfab67b1e17a2ad3e56c1d2e53e5a68554a81d2 (diff)
updated eggtrayicon.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1138 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/eggtrayicon.h')
-rw-r--r--src/eggtrayicon.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/eggtrayicon.h b/src/eggtrayicon.h
index c70c887c..7bbfe8bf 100644
--- a/src/eggtrayicon.h
+++ b/src/eggtrayicon.h
@@ -22,7 +22,7 @@
#define __EGG_TRAY_ICON_H__
#include <gtk/gtkplug.h>
-#include <gtk/gtk.h>
+#include <gtk/gtkversion.h>
#ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h>
@@ -61,8 +61,10 @@ struct _EggTrayIconClass
GType egg_tray_icon_get_type (void);
+#if GTK_CHECK_VERSION(2,1,0)
EggTrayIcon *egg_tray_icon_new_for_screen (GdkScreen *screen,
const gchar *name);
+#endif
EggTrayIcon *egg_tray_icon_new (const gchar *name);