Mercurial > audlegacy-plugins
diff src/statusicon/si_ui.c @ 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 | fbf1f593b0c6 |
children | 209bd85dc1b9 |
line wrap: on
line diff
--- a/src/statusicon/si_ui.c Wed Mar 21 05:18:25 2007 -0700 +++ b/src/statusicon/si_ui.c Wed Mar 21 07:15:43 2007 -0700 @@ -52,12 +52,12 @@ si_hook_tchange_prevs_t; -static GtkTrayIcon * +static AudGtkTrayIcon * si_ui_statusicon_create ( void ) { - GtkTrayIcon *si_applet = NULL; + AudGtkTrayIcon *si_applet = NULL; - si_applet = _gtk_tray_icon_new( "audacious" ); + si_applet = _aud_gtk_tray_icon_new( "audacious" ); gtk_widget_show( GTK_WIDGET(si_applet) ); @@ -329,7 +329,7 @@ static gint prev_size = 0; gint size = 0; - orientation = _gtk_tray_icon_get_orientation( GTK_TRAY_ICON(si_applet) ); + orientation = _aud_gtk_tray_icon_get_orientation( AUD_GTK_TRAY_ICON(si_applet) ); if ( orientation == GTK_ORIENTATION_HORIZONTAL ) size = allocation->height; else @@ -422,7 +422,7 @@ { GtkWidget *si_image; GtkWidget *si_popup; - GtkTrayIcon *si_applet; + AudGtkTrayIcon *si_applet; GtkRequisition req; GtkAllocation allocation; @@ -486,7 +486,7 @@ { if ( si_evbox != NULL ) { - GtkTrayIcon *si_applet = g_object_get_data( G_OBJECT(si_evbox) , "applet" ); + AudGtkTrayIcon *si_applet = g_object_get_data( G_OBJECT(si_evbox) , "applet" ); si_ui_statusicon_popup_timer_stop( si_evbox ); /* just in case the timer is active */ gtk_widget_destroy( GTK_WIDGET(si_evbox) ); gtk_widget_destroy( GTK_WIDGET(si_applet) );