tags 577374 + patch pending thanks Dear maintainer,
I've prepared an NMU for gdmap (versioned as 0.8.1-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards.
diff -u gdmap-0.8.1/debian/changelog gdmap-0.8.1/debian/changelog --- gdmap-0.8.1/debian/changelog +++ gdmap-0.8.1/debian/changelog @@ -1,3 +1,11 @@ +gdmap (0.8.1-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/patches/04_deprecated_GTK.dpatch: + - Replace deprecated GTK macro with related function (Closes: #577374). + + -- Luca Falavigna <dktrkr...@debian.org> Sun, 09 May 2010 20:23:08 +0200 + gdmap (0.8.1-1) unstable; urgency=low * New upstream release. diff -u gdmap-0.8.1/debian/patches/00list gdmap-0.8.1/debian/patches/00list --- gdmap-0.8.1/debian/patches/00list +++ gdmap-0.8.1/debian/patches/00list @@ -1,0 +2 @@ +04_deprecated_GTK only in patch2: unchanged: --- gdmap-0.8.1.orig/debian/patches/04_deprecated_GTK.dpatch +++ gdmap-0.8.1/debian/patches/04_deprecated_GTK.dpatch @@ -0,0 +1,26 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_deprecated_GTK.dpatch by Luca Falavigna <dktrkr...@debian.org> +## DP: Replace deprecated GTK macro with related function. + +...@dpatch@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' gdmap-0.8.1~/src/gui_support.c gdmap-0.8.1/src/gui_support.c +--- gdmap-0.8.1~/src/gui_support.c 2008-05-23 16:54:28.000000000 +0200 ++++ gdmap-0.8.1/src/gui_support.c 2010-05-09 20:22:07.198963408 +0200 +@@ -85,7 +85,7 @@ + const char* text; + + (void)event; +- if (GTK_WIDGET_SENSITIVE(label)) { ++ if (gtk_widget_get_sensitive(label)) { + char* temp; + + text = g_object_get_data(G_OBJECT(label), "label"); +@@ -129,7 +129,7 @@ + void ui_event_label_set_sensitive(GtkWidget* ebox, gboolean set) { + gpointer callback = g_object_get_data(G_OBJECT(ebox), "callback"); + GtkWidget* child = GTK_BIN(ebox)->child; +- if (GTK_WIDGET_SENSITIVE(child) == set) return; ++ if (gtk_widget_get_sensitive(child) == set) return; + + if (set && !callback) return; + gtk_widget_set_sensitive(child, set);