brasero r2221 - in trunk: . libbrasero-burn src



Author: thomashpa
Date: Wed Apr  8 20:55:39 2009
New Revision: 2221
URL: http://svn.gnome.org/viewvc/brasero?rev=2221&view=rev

Log:
Replace use of deprecated gtk symbols. Bumps required gtk to 2.16. Bug #578304

Modified:
   trunk/ChangeLog
   trunk/configure.in
   trunk/libbrasero-burn/brasero-tray.c
   trunk/src/brasero-app.c

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Wed Apr  8 20:55:39 2009
@@ -110,7 +110,7 @@
 GMODULE_REQUIRED=2.6.0
 GIO_REQUIRED=2.15.5
 GDK_REQUIRED=2.6.0
-GTK_REQUIRED=2.14.0
+GTK_REQUIRED=2.16.0
 GCONF_REQUIRED=2.0.0
 GSTREAMER_REQUIRED=0.10.15
 GSTREAMER_BASE_REQUIRED=0.10.0

Modified: trunk/libbrasero-burn/brasero-tray.c
==============================================================================
--- trunk/libbrasero-burn/brasero-tray.c	(original)
+++ trunk/libbrasero-burn/brasero-tray.c	Wed Apr  8 20:55:39 2009
@@ -269,7 +269,7 @@
 	else
 		text = g_strdup (action_string);
 
-	gtk_status_icon_set_tooltip (GTK_STATUS_ICON (tray), text);
+	gtk_status_icon_set_tooltip_text (GTK_STATUS_ICON (tray), text);
 	g_free (text);
 }
 

Modified: trunk/src/brasero-app.c
==============================================================================
--- trunk/src/brasero-app.c	(original)
+++ trunk/src/brasero-app.c	Wed Apr  8 20:55:39 2009
@@ -1226,7 +1226,7 @@
 
 	priv = BRASERO_APP_PRIVATE (app);
 
-	action = gtk_widget_get_action (GTK_WIDGET (proxy));
+	action = gtk_activatable_get_related_action (GTK_ACTIVATABLE (proxy));
 	g_return_if_fail (action != NULL);
 
 	g_object_get (G_OBJECT (action), "tooltip", &message, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]