]> git.pld-linux.org Git - packages/sound-juicer.git/commitdiff
- https://bugzilla.gnome.org/show_bug.cgi?id=631887
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Wed, 13 Apr 2011 11:31:30 +0000 (11:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sound-juicer-drawable.patch -> 1.1

sound-juicer-drawable.patch [new file with mode: 0644]

diff --git a/sound-juicer-drawable.patch b/sound-juicer-drawable.patch
new file mode 100644 (file)
index 0000000..7f04c56
--- /dev/null
@@ -0,0 +1,27 @@
+--- sound-juicer-2.32.0/src/sj-main.c  2010-08-04 06:35:35.000000000 -0700
++++ sound-juicer-2.32.0/src/sj-main.c.new      2010-11-12 16:41:26.401868408 -0800
+@@ -49,6 +49,11 @@
+ #include "sj-play.h"
+ #include "sj-genres.h"
++/* gtk compatibility hack, remove when required gtk >= 2.91.0 */
++#if (!GTK_CHECK_VERSION(2,24,0) || (GTK_CHECK_VERSION(2,90,0) && !GTK_CHECK_VERSION(2,91,0)))
++#define gdk_window_get_display gdk_drawable_get_display
++#endif
++
+ gboolean on_delete_event (GtkWidget *widget, GdkEvent *event, gpointer user_data);
+ static void reread_cd (gboolean ignore_no_media);
+@@ -886,10 +891,10 @@
+   /* Set watch cursor */
+   if (realized) {
+-    cursor = gdk_cursor_new_for_display (gdk_drawable_get_display (window), GDK_WATCH);
++    cursor = gdk_cursor_new_for_display (gdk_window_get_display (window), GDK_WATCH);
+     gdk_window_set_cursor (window, cursor);
+     gdk_cursor_unref (cursor);
+-    gdk_display_sync (gdk_drawable_get_display (window));
++    gdk_display_sync (gdk_window_get_display (window));
+   }
+   /* Set statusbar message */
This page took 0.076178 seconds and 4 git commands to generate.