]> git.pld-linux.org Git - packages/gnome-panel.git/blame - 0001-panel-Fix-launcher-icon-animation-ending-with-black-.patch
Fixes from git to build on GNOME 3.8
[packages/gnome-panel.git] / 0001-panel-Fix-launcher-icon-animation-ending-with-black-.patch
CommitLineData
fd33e2e0
AF
1From be33e799d968a073c0a8856c96d11e8594b88bc4 Mon Sep 17 00:00:00 2001
2From: Yannick Gicquel <ygicquel@gmail.com>
3Date: Thu, 22 Nov 2012 08:37:26 +0100
4Subject: [PATCH] panel: Fix launcher icon animation ending with black artifact
5
6We simply need to hide the animation window before unref'ing the pixbuf.
7
8https://bugzilla.gnome.org/show_bug.cgi?id=688618
9---
10 gnome-panel/xstuff.c | 5 +++--
11 1 file changed, 3 insertions(+), 2 deletions(-)
12
13diff --git a/gnome-panel/xstuff.c b/gnome-panel/xstuff.c
14index 5acbf66..4f8b605 100644
15--- a/gnome-panel/xstuff.c
16+++ b/gnome-panel/xstuff.c
17@@ -326,12 +326,13 @@ zoom_draw (GtkWidget *widget,
18 g_source_remove (zoom->timeout_id);
19 zoom->timeout_id = 0;
20
21+ gtk_widget_hide (widget);
22+ g_idle_add (idle_destroy, widget);
23+
24 g_object_unref (zoom->pixbuf);
25 zoom->pixbuf = NULL;
26
27 g_slice_free (CompositedZoomData, zoom);
28-
29- g_idle_add (idle_destroy, widget);
30 } else {
31 GdkPixbuf *scaled;
32 int width, height;
33--
341.8.2
35
This page took 0.131206 seconds and 4 git commands to generate.