[gnome-panel] nothing.cP: Remove unnecessary function
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] nothing.cP: Remove unnecessary function
- Date: Tue, 2 Jun 2015 15:39:43 +0000 (UTC)
commit 586a8063ccf1b556b1a1dfb4fc2460aa3c411240
Author: Sebastian Geiger <sbastig gmx net>
Date: Tue Jun 2 12:43:21 2015 +0200
nothing.cP: Remove unnecessary function
gnome-panel/nothing.cP | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
---
diff --git a/gnome-panel/nothing.cP b/gnome-panel/nothing.cP
index 27c98e1..b75abdc 100644
--- a/gnome-panel/nothing.cP
+++ b/gnome-panel/nothing.cP
@@ -166,19 +166,6 @@ out:
gtk_main_do_event (event);
}
-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;
-}
-
static void
phsh_unsea (cairo_surface_t *surface)
{
@@ -301,7 +288,7 @@ check_screen (void)
if (phsh.win != NULL)
return;
- phsh_pixbuf = get_phsh_pixbuf ();
+ phsh_pixbuf = gdk_pixbuf_new_from_resource ("/org/gnome/panel/anim/wanda.png", NULL);
if (phsh_pixbuf == NULL)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]