[gnome-panel/wip/free-the-fish: 2/9] Cleanup obfuscated code



commit 44b6611ca646601f58d81ac765c9a41ee6c277f2
Author: Sebastian Geiger <sbastig gmx net>
Date:   Tue Jun 2 12:43:21 2015 +0200

    Cleanup obfuscated code

 gnome-panel/nothing.cP |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/gnome-panel/nothing.cP b/gnome-panel/nothing.cP
index 27c98e1..d6ab043 100644
--- a/gnome-panel/nothing.cP
+++ b/gnome-panel/nothing.cP
@@ -169,14 +169,7 @@ out:
 static GdkPixbuf *
 get_phsh_pixbuf (void)
 {
-        char *resource;
-        GdkPixbuf *pixbuf;
-
-        resource = g_strdup_printf ("%s%cand%c.png", "/org/gnome/panel/anim/", 'w', 'a');
-        pixbuf = gdk_pixbuf_new_from_resource (resource, NULL);
-        g_free (resource);
-
-        return pixbuf;
+        return gdk_pixbuf_new_from_resource ("/org/gnome/panel/anim/wanda.png", NULL);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]