From: Siddhesh P. <sid...@us...> - 2007-09-09 17:21:33
|
Update of /cvsroot/ayttm/ayttm/src/gtk In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv17020/src/gtk Modified Files: prefs_window.C Log Message: Replaced deprecated function. Patch by Scott Kitterman on Debian bug report. Index: prefs_window.C =================================================================== RCS file: /cvsroot/ayttm/ayttm/src/gtk/prefs_window.C,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- prefs_window.C 3 Aug 2007 20:38:42 -0000 1.49 +++ prefs_window.C 9 Sep 2007 17:21:26 -0000 1.50 @@ -1134,7 +1134,7 @@ GtkWidget *useless_event_box_because_of_stupid_gtk_colour_handling = gtk_event_box_new(); gtk_widget_show( useless_event_box_because_of_stupid_gtk_colour_handling ); gtk_widget_modify_style( useless_event_box_because_of_stupid_gtk_colour_handling, rc_style ); - gtk_rc_style_unref( rc_style ); + g_object_unref( rc_style ); gtk_container_add( GTK_CONTAINER(frame), useless_event_box_because_of_stupid_gtk_colour_handling ); GtkWidget *label = gtk_label_new( in_text ); |