tags 577297 + patch pending
thanks

Dear maintainer,

I've prepared an NMU for gnote (versioned as 0.7.1-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
diff -u gnote-0.7.1/debian/changelog gnote-0.7.1/debian/changelog
--- gnote-0.7.1/debian/changelog
+++ gnote-0.7.1/debian/changelog
@@ -1,3 +1,11 @@
+gnote (0.7.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/01_deprecated_GTK.patch:
+    - Replace deprecated GTK macro with related function (Closes: #577297).
+
+ -- Luca Falavigna <[email protected]>  Sat, 08 May 2010 14:55:54 +0200
+
 gnote (0.7.1-1) unstable; urgency=low
 
   * New upstream release.
only in patch2:
unchanged:
--- gnote-0.7.1.orig/debian/patches/01_deprecated_GTK.patch
+++ gnote-0.7.1/debian/patches/01_deprecated_GTK.patch
@@ -0,0 +1,15 @@
+diff -ruN gnote-0.7.1.orig/libtomboy/tomboyutil.c gnote-0.7.1/libtomboy/tomboyutil.c
+--- gnote-0.7.1.orig/libtomboy/tomboyutil.c	2009-11-25 14:12:33.000000000 +0100
++++ gnote-0.7.1/libtomboy/tomboyutil.c	2010-05-08 14:54:32.711931277 +0200
+@@ -153,9 +153,9 @@
+ void
+ tomboy_window_present_hardcore (GtkWindow *window)
+ {
+-	if (!GTK_WIDGET_REALIZED (window))
++	if (!gtk_widget_get_realized (window))
+ 		gtk_widget_realize (GTK_WIDGET (window));
+-	else if (GTK_WIDGET_VISIBLE (window))
++	else if (gtk_widget_get_visible (window))
+ 		tomboy_window_move_to_current_workspace (window);
+ 
+ 	tomboy_window_override_user_time (window);

Reply via email to