sound-juicer r2066 - in trunk: . src



Author: rburton
Date: Tue Feb 26 08:56:23 2008
New Revision: 2066
URL: http://svn.gnome.org/viewvc/sound-juicer?rev=2066&view=rev

Log:
2008-02-26  Ross Burton  <ross burtonini com>

	* src/bacon-volume.c:
	Remove deprecated calls (#518753, thanks Michael Terry).


Modified:
   trunk/ChangeLog
   trunk/src/bacon-volume.c

Modified: trunk/src/bacon-volume.c
==============================================================================
--- trunk/src/bacon-volume.c	(original)
+++ trunk/src/bacon-volume.c	Tue Feb 26 08:56:23 2008
@@ -48,7 +48,6 @@
   float direction;
   guint32 pop_time;
   GdkPixbuf *icon[4];
-  GtkTooltips *tooltips;
   guint timeout : 1;
 };
 
@@ -148,7 +147,6 @@
   button->timeout = FALSE;
   button->click_id = 0;
   button->dock = button->scale = NULL;
-  button->tooltips = gtk_tooltips_new ();
 }
 
 static void
@@ -782,8 +780,7 @@
 			   (int) ((val - adj->lower) / (adj->upper - adj->lower) * 100));
   }
 
-  gtk_tooltips_set_tip (button->tooltips, GTK_WIDGET (button),
-			str, NULL);
+  gtk_widget_set_tooltip_text (GTK_WIDGET (button), str);
   g_free (str);
 }
 



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