comparison src/statusicon/gtktrayicon.h @ 886:f2fde7b4dccd trunk

[svn] - statusicon: use function/define names that do not collide with gtk >= 2.10 internals (paranoia)
author giacomo
date Wed, 21 Mar 2007 07:15:43 -0700
parents 38fe08dff5cd
children f1b6f1b2cdb3
comparison
equal deleted inserted replaced
885:1d8d643134db 886:f2fde7b4dccd
15 * License along with this library; if not, write to the 15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA. 17 * Boston, MA 02111-1307, USA.
18 */ 18 */
19 19
20 #ifndef __GTK_TRAY_ICON_H__ 20 #ifndef __AUD_GTK_TRAY_ICON_H__
21 #define __GTK_TRAY_ICON_H__ 21 #define __AUD_GTK_TRAY_ICON_H__
22 22
23 #include <gtk/gtkplug.h> 23 #include <gtk/gtkplug.h>
24 24
25 G_BEGIN_DECLS 25 G_BEGIN_DECLS
26 26
27 #define GTK_TYPE_TRAY_ICON (gtk_tray_icon_get_type ()) 27 #define AUD_GTK_TYPE_TRAY_ICON (aud_gtk_tray_icon_get_type ())
28 #define GTK_TRAY_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TRAY_ICON, GtkTrayIcon)) 28 #define AUD_GTK_TRAY_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AUD_GTK_TYPE_TRAY_ICON, AudGtkTrayIcon))
29 #define GTK_TRAY_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TRAY_ICON, GtkTrayIconClass)) 29 #define AUD_GTK_TRAY_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), AUD_GTK_TYPE_TRAY_ICON, AudGtkTrayIconClass))
30 #define GTK_IS_TRAY_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TRAY_ICON)) 30 #define AUD_GTK_IS_TRAY_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AUD_GTK_TYPE_TRAY_ICON))
31 #define GTK_IS_TRAY_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TRAY_ICON)) 31 #define AUD_GTK_IS_TRAY_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), AUD_GTK_TYPE_TRAY_ICON))
32 #define GTK_TRAY_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TRAY_ICON, GtkTrayIconClass)) 32 #define AUD_GTK_TRAY_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AUD_GTK_TYPE_TRAY_ICON, AudGtkTrayIconClass))
33 33
34 typedef struct _GtkTrayIcon GtkTrayIcon; 34 typedef struct _AudGtkTrayIcon AudGtkTrayIcon;
35 typedef struct _GtkTrayIconPrivate GtkTrayIconPrivate; 35 typedef struct _AudGtkTrayIconPrivate AudGtkTrayIconPrivate;
36 typedef struct _GtkTrayIconClass GtkTrayIconClass; 36 typedef struct _AudGtkTrayIconClass AudGtkTrayIconClass;
37 37
38 struct _GtkTrayIcon 38 struct _AudGtkTrayIcon
39 { 39 {
40 GtkPlug parent_instance; 40 GtkPlug parent_instance;
41 41
42 GtkTrayIconPrivate *priv; 42 AudGtkTrayIconPrivate *priv;
43 }; 43 };
44 44
45 struct _GtkTrayIconClass 45 struct _AudGtkTrayIconClass
46 { 46 {
47 GtkPlugClass parent_class; 47 GtkPlugClass parent_class;
48 48
49 void (*__gtk_reserved1); 49 void (*__gtk_reserved1);
50 void (*__gtk_reserved2); 50 void (*__gtk_reserved2);
52 void (*__gtk_reserved4); 52 void (*__gtk_reserved4);
53 void (*__gtk_reserved5); 53 void (*__gtk_reserved5);
54 void (*__gtk_reserved6); 54 void (*__gtk_reserved6);
55 }; 55 };
56 56
57 GType gtk_tray_icon_get_type (void) G_GNUC_CONST; 57 GType aud_gtk_tray_icon_get_type (void) G_GNUC_CONST;
58 58
59 GtkTrayIcon *_gtk_tray_icon_new_for_screen (GdkScreen *screen, 59 AudGtkTrayIcon *_aud_gtk_tray_icon_new_for_screen (GdkScreen *screen,
60 const gchar *name); 60 const gchar *name);
61 61
62 GtkTrayIcon *_gtk_tray_icon_new (const gchar *name); 62 AudGtkTrayIcon *_aud_gtk_tray_icon_new (const gchar *name);
63 63
64 guint _gtk_tray_icon_send_message (GtkTrayIcon *icon, 64 guint _aud_gtk_tray_icon_send_message (AudGtkTrayIcon *icon,
65 gint timeout, 65 gint timeout,
66 const gchar *message, 66 const gchar *message,
67 gint len); 67 gint len);
68 void _gtk_tray_icon_cancel_message (GtkTrayIcon *icon, 68 void _aud_gtk_tray_icon_cancel_message (AudGtkTrayIcon *icon,
69 guint id); 69 guint id);
70 70
71 GtkOrientation _gtk_tray_icon_get_orientation (GtkTrayIcon *icon); 71 GtkOrientation _aud_gtk_tray_icon_get_orientation (AudGtkTrayIcon *icon);
72 72
73 G_END_DECLS 73 G_END_DECLS
74 74
75 #endif /* __GTK_TRAY_ICON_H__ */ 75 #endif /* __AUD_GTK_TRAY_ICON_H__ */