tags 577318 + patch pending thanks Dear maintainer,
I've prepared an NMU for xsensors (versioned as 0.70-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards.
diff -Nru xsensors-0.70/debian/changelog xsensors-0.70/debian/changelog --- xsensors-0.70/debian/changelog 2010-02-03 06:31:24.000000000 +0100 +++ xsensors-0.70/debian/changelog 2010-05-08 01:50:27.000000000 +0200 @@ -1,3 +1,11 @@ +xsensors (0.70-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/patches/deprecated_GTK.patch: + - Replace deprecated GTK macro with related function (Closes: #577318). + + -- Luca Falavigna <dktrkr...@debian.org> Sat, 08 May 2010 01:47:59 +0200 + xsensors (0.70-1) unstable; urgency=low * New upstream release. diff -Nru xsensors-0.70/debian/patches/deprecated_GTK.patch xsensors-0.70/debian/patches/deprecated_GTK.patch --- xsensors-0.70/debian/patches/deprecated_GTK.patch 1970-01-01 01:00:00.000000000 +0100 +++ xsensors-0.70/debian/patches/deprecated_GTK.patch 2010-05-08 01:47:08.000000000 +0200 @@ -0,0 +1,40 @@ +Index: xsensors-0.70/src/gui.c +=================================================================== +--- xsensors-0.70.orig/src/gui.c 2010-05-08 01:47:05.080415919 +0200 ++++ xsensors-0.70/src/gui.c 2010-05-08 01:47:02.152412453 +0200 +@@ -84,7 +84,7 @@ + while ( *digit ) { + get_pm_location( *digit, &x, &y, &w ); + gdk_draw_drawable( widget->window, +- widget->style->fg_gc[ GTK_WIDGET_STATE ++ widget->style->fg_gc[ gtk_widget_get_state + (widget) ], theme, x, y + highLow, + pos, 0, w, 30 ); + pos += w; +@@ -121,7 +121,7 @@ + + /* Display RPM */ + gdk_draw_drawable( widget->window, +- widget->style->fg_gc[ GTK_WIDGET_STATE ++ widget->style->fg_gc[ gtk_widget_get_state + (widget) ], theme, 0, 120 + highLow, + 90, 0, 57, 30 ); + break; +@@ -142,7 +142,7 @@ + else + x = 57; + gdk_draw_drawable( widget->window, +- widget->style->fg_gc[ GTK_WIDGET_STATE ++ widget->style->fg_gc[ gtk_widget_get_state + (widget) ], theme, x, 60 + highLow, + 96, 0, 57, 30 ); + +@@ -158,7 +158,7 @@ + + /* Display V */ + gdk_draw_drawable( widget->window, +- widget->style->fg_gc[ GTK_WIDGET_STATE ++ widget->style->fg_gc[ gtk_widget_get_state + (widget) ], theme, 114, 60 + highLow, + 96, 0, 57, 30 ); + diff -Nru xsensors-0.70/debian/patches/series xsensors-0.70/debian/patches/series --- xsensors-0.70/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ xsensors-0.70/debian/patches/series 2010-05-08 01:53:00.000000000 +0200 @@ -0,0 +1 @@ +deprecated_GTK.patch