summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2005-02-16 10:32:15 +0000
committerGlynn Foster <gman@src.gnome.org>2005-02-16 10:32:15 +0000
commitd4d23da5a74c11c1db0ff86862f25b6964479a96 (patch)
tree0bab0e7dc7f86d16ce218d018da36e04f9630d2c /src
parentFix bug #167577, that leaks a seperator. Patch from Paolo Borelli (diff)
downloadzenity-d4d23da5a74c11c1db0ff86862f25b6964479a96.tar.gz
zenity-d4d23da5a74c11c1db0ff86862f25b6964479a96.tar.bz2
zenity-d4d23da5a74c11c1db0ff86862f25b6964479a96.zip
Fix leak in ZENITY_IMAGE_FULLPATH. Fixes #167518, hopefully.
2005-02-16 Glynn Foster <glynn.foster@sun.com> * src/util.h: Fix leak in ZENITY_IMAGE_FULLPATH. Fixes #167518, hopefully.
Diffstat (limited to 'src')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 4e3c2142..cbf96ab1 100644
--- a/src/util.h
+++ b/src/util.h
@@ -9,7 +9,7 @@ G_BEGIN_DECLS
#define ZENITY_GLADE_FILE_FULLPATH ZENITY_DATADIR "/zenity.glade"
#define ZENITY_GLADE_FILE_RELATIVEPATH "./zenity.glade"
-#define ZENITY_IMAGE_FULLPATH(filename) (g_strconcat (ZENITY_DATADIR, "/", filename, NULL))
+#define ZENITY_IMAGE_FULLPATH(filename) (ZENITY_DATADIR "/" filename)
GladeXML* zenity_util_load_glade_file (const gchar *widget_root);
gchar * zenity_util_strip_newline (gchar *string);
bgstack15