Package: ayttm Version: 0.5.0+10-2 Tags: patch This particular issue causes an FTBFS in Ubuntu. Here's the fix:
#! /bin/sh /usr/share/dpatch/dpatch-run ## 01gtk_rc_style_unref.dpatch by <[EMAIL PROTECTED]> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Replace deprecated gtk_rc_style_unref to g_object_unref to fix FTBFS @DPATCH@ diff -urNad ayttm-0.5.0+10~/src/gtk/prefs_window.C ayttm-0.5.0+10/src/gtk/prefs_window.C --- ayttm-0.5.0+10~/src/gtk/prefs_window.C 2007-08-03 16:38:42.000000000 -0400 +++ ayttm-0.5.0+10/src/gtk/prefs_window.C 2007-09-07 09:30:34.000000000 -0400 @@ -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 );