[gnome-panel/wip/free-the-fish: 1/8] nothing.cP: Remove unnecessary function
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/wip/free-the-fish: 1/8] nothing.cP: Remove unnecessary function
- Date: Tue, 2 Jun 2015 14:52:20 +0000 (UTC)
commit 06cd5de09fb1408a6f2a557050c1e862cde682cf
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]