r26402 - in /desktop/experimental/gnome-games/debian: changelog patches/0001-mahjongg-use-gtk-s-double-buffering-for-drawing.patch patches/series
pochu at users.alioth.debian.org
pochu at users.alioth.debian.org
Mon Jan 24 00:28:44 UTC 2011
Author: pochu
Date: Mon Jan 24 00:28:43 2011
New Revision: 26402
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=26402
Log:
+ d/patches/0001-mahjongg-use-gtk-s-double-buffering-for-drawing.patch:
- New patch. Fix rendering issues in Mahjongg.
Added:
desktop/experimental/gnome-games/debian/patches/0001-mahjongg-use-gtk-s-double-buffering-for-drawing.patch
Modified:
desktop/experimental/gnome-games/debian/changelog
desktop/experimental/gnome-games/debian/patches/series
Modified: desktop/experimental/gnome-games/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-games/debian/changelog?rev=26402&op=diff
==============================================================================
--- desktop/experimental/gnome-games/debian/changelog [utf-8] (original)
+++ desktop/experimental/gnome-games/debian/changelog [utf-8] Mon Jan 24 00:28:43 2011
@@ -21,6 +21,8 @@
- Removed, no longer necessary.
+ debian/patches/0001-quadrapassel-use-gtk_clutter_init.-instead.patch:
- Taken from upstream git, makes quadrapassel work.
+ + d/patches/0001-mahjongg-use-gtk-s-double-buffering-for-drawing.patch:
+ - New patch. Fix rendering issues in Mahjongg.
+ debian/gnome-games-data.install:
- Updated.
+ debian/control.in,
Added: desktop/experimental/gnome-games/debian/patches/0001-mahjongg-use-gtk-s-double-buffering-for-drawing.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-games/debian/patches/0001-mahjongg-use-gtk-s-double-buffering-for-drawing.patch?rev=26402&op=file
==============================================================================
--- desktop/experimental/gnome-games/debian/patches/0001-mahjongg-use-gtk-s-double-buffering-for-drawing.patch (added)
+++ desktop/experimental/gnome-games/debian/patches/0001-mahjongg-use-gtk-s-double-buffering-for-drawing.patch [utf-8] Mon Jan 24 00:28:43 2011
@@ -1,0 +1,32 @@
+From ae967af193f0db4e43d91744d05fad4065775d82 Mon Sep 17 00:00:00 2001
+From: Emilio Pozuelo Monfort <pochu27 at gmail.com>
+Date: Mon, 24 Jan 2011 00:10:33 +0000
+Subject: [PATCH] mahjongg: use gtk+'s double buffering for drawing
+
+For some reason, we're not doing double buffering ourselves,
+causing the board not to be rendered properly. So let's not
+disable gtk+'s double buffering. The only reason I can think
+of to disable it is performance, and it's not like this will
+cause problems to anyone, as opposed to rendering issues.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=640358
+---
+ mahjongg/drawing.c | 2 --
+ 1 files changed, 0 insertions(+), 2 deletions(-)
+
+diff --git a/mahjongg/drawing.c b/mahjongg/drawing.c
+index 8cc77ec..1598a74 100644
+--- a/mahjongg/drawing.c
++++ b/mahjongg/drawing.c
+@@ -402,8 +402,6 @@ create_mahjongg_board (void)
+ G_CALLBACK (configure_board), NULL);
+ g_signal_connect (G_OBJECT (board), "button-press-event",
+ G_CALLBACK (board_click), NULL);
+- /* We do our own double-buffering. */
+- gtk_widget_set_double_buffered (board, FALSE);
+
+ return board;
+ }
+--
+1.7.2.3
+
Modified: desktop/experimental/gnome-games/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gnome-games/debian/patches/series?rev=26402&op=diff
==============================================================================
--- desktop/experimental/gnome-games/debian/patches/series [utf-8] (original)
+++ desktop/experimental/gnome-games/debian/patches/series [utf-8] Mon Jan 24 00:28:43 2011
@@ -1,2 +1,3 @@
0001-quadrapassel-use-gtk_clutter_init.-instead.patch
+0001-mahjongg-use-gtk-s-double-buffering-for-drawing.patch
03_missing_icons.patch
More information about the pkg-gnome-commits
mailing list