[gdm] - Fix swapped LHS and RHS in more-aggressive-about-loading-icons patch

Ray Strode rstrode at fedoraproject.org
Thu Jan 20 19:38:12 UTC 2011


commit 14687579e47752439edb28d0b1bc1ebcbdd297a2
Author: Ray Strode <rstrode at redhat.com>
Date:   Thu Jan 20 14:37:42 2011 -0500

    - Fix swapped LHS and RHS in more-aggressive-about-loading-icons
      patch

 gdm.spec       |    6 +++++-
 icon-fix.patch |    2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gdm.spec b/gdm.spec
index 807169c..48c764c 100644
--- a/gdm.spec
+++ b/gdm.spec
@@ -15,7 +15,7 @@
 Summary: The GNOME Display Manager
 Name: gdm
 Version: 2.91.4
-Release: 4%{?dist}
+Release: 5%{?dist}
 Epoch: 1
 License: GPLv2+
 Group: User Interface/X
@@ -377,6 +377,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/ull || :
 %{_libdir}/gdm/simple-greeter/plugins/fingerprint.so
 
 %changelog
+* Wed Jan 19 2011 Ray Strode <rstrode at redhat.com> 2.91.4-5
+- Fix swapped LHS and RHS in more-aggressive-about-loading-icons
+  patch
+
 * Wed Jan 19 2011 Ray Strode <rstrode at redhat.com> 2.91.4-4
 - Update previous patch to handle NULL better
 
diff --git a/icon-fix.patch b/icon-fix.patch
index f78b01e..f3ee6d1 100644
--- a/icon-fix.patch
+++ b/icon-fix.patch
@@ -71,7 +71,7 @@ index 8df255f..6d03c38 100644
 +                                                   TRUE, 8, 1, 1, 1, NULL, NULL);
 +                scaled_pixbuf = gdk_pixbuf_scale_simple (pixbuf, size, size, GDK_INTERP_NEAREST);
 +                g_object_unref (pixbuf);
-+                scaled_pixbuf = pixbuf;
++                pixbuf = scaled_pixbuf;
          }
  
          return pixbuf;


More information about the scm-commits mailing list