diff options
author | Arnavion <arnavion@gmail.com> | 2014-12-08 21:24:59 -0800 |
---|---|---|
committer | Arnavion <arnavion@gmail.com> | 2014-12-08 21:24:59 -0800 |
commit | c1831cb19dc1a95bfe96c808aaf5ee42f7401995 (patch) | |
tree | 51186833204b4061ead7794b17e8f43d32e03596 /src/fe-gtk/pixmaps.c | |
parent | 65da34f19eab5edde0615ccc4a58be1947cfce6e (diff) |
Minor tidying up
Diffstat (limited to 'src/fe-gtk/pixmaps.c')
-rw-r--r-- | src/fe-gtk/pixmaps.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fe-gtk/pixmaps.c b/src/fe-gtk/pixmaps.c index cbec6f71..053afaaf 100644 --- a/src/fe-gtk/pixmaps.c +++ b/src/fe-gtk/pixmaps.c @@ -87,10 +87,9 @@ pixmap_load_from_file (char *filename) static GdkPixbuf * load_pixmap (const char *filename) { - gchar *path; GdkPixbuf *pixbuf; - path = g_strdup_printf ("%s" G_DIR_SEPARATOR_S "icons" G_DIR_SEPARATOR_S "%s.png", get_xdir (), filename); + gchar *path = g_strdup_printf ("%s" G_DIR_SEPARATOR_S "icons" G_DIR_SEPARATOR_S "%s.png", get_xdir (), filename); pixbuf = gdk_pixbuf_new_from_file (path, 0); g_free (path); |