diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-12-28 15:51:31 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-12-28 15:51:31 +0000 |
commit | c30e1d8e0066a1ba49a3bc06339329af9b3f2a00 (patch) | |
tree | cd78b11b625c637ea36899ae68cfb95aab20bd64 /gdk | |
parent | fb161a603f42d03e4b56b16b1c05618b5f6df2c3 (diff) | |
download | gtk+-c30e1d8e0066a1ba49a3bc06339329af9b3f2a00.tar.gz |
Don't return NULL.
2007-12-28 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
svn path=/trunk/; revision=19274
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/x11/gdkwindow-x11.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index ae4fab0630..452959d05d 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -498,6 +498,8 @@ get_default_title (void) title = g_get_application_name (); if (!title) title = g_get_prgname (); + if (!title) + title = ""; return title; } |