Deal with title-less windows

https://bugzilla.gnome.org/show_bug.cgi?id=601290
This commit is contained in:
Dan Winship
2009-11-13 14:38:38 -05:00
parent 21f15246a6
commit 8334b063f1
2 changed files with 10 additions and 5 deletions

View File

@ -740,6 +740,8 @@ shell_app_info_get_name (ShellAppInfo *info)
{
char *title;
g_object_get (info->window, "title", &title, NULL);
if (!title)
title = g_strdup ("");
return title;
}
}