Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=grape.git;a=commitdiff;h=09929f4fe7cfd3d4b833ce1a5acbbf5f3faef46e

commit 09929f4fe7cfd3d4b833ce1a5acbbf5f3faef46e
Author: James Buren <r...@frugalware.org>
Date:   Sun Apr 4 05:50:12 2010 -0500

window_new.c
* replace allocation for filename with build_filename

diff --git a/src/window_new.c b/src/window_new.c
index fdcb5d6..b2430f1 100644
--- a/src/window_new.c
+++ b/src/window_new.c
@@ -30,7 +30,7 @@ SharedInfo *window_new(const gchar *filename) {

info->parent = GTK_WINDOW(gtk_window_new(GTK_WINDOW_TOPLEVEL));

-  info->filename = g_strdup(filename);
+  info->filename = (filename) ? build_filename(filename) : NULL;

gtk_container_add(GTK_CONTAINER(info->parent),vbox);
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to