summaryrefslogtreecommitdiffstats
path: root/x11/gnome-session/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-session/files')
-rw-r--r--x11/gnome-session/files/patch-gnome-session_session.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/gnome-session/files/patch-gnome-session_session.c b/x11/gnome-session/files/patch-gnome-session_session.c
new file mode 100644
index 000000000..a78539889
--- /dev/null
+++ b/x11/gnome-session/files/patch-gnome-session_session.c
@@ -0,0 +1,11 @@
+--- gnome-session/session.c.orig 2008-04-28 13:19:41.000000000 -0400
++++ gnome-session/session.c 2008-04-28 13:17:22.000000000 -0400
+@@ -155,6 +155,8 @@ static void
+ append_app (GsmSession *session, GsmApp *app)
+ {
+ const char *basename = gsm_app_get_basename (app);
++ if (!basename)
++ return;
+ GsmApp *dup = g_hash_table_lookup (session->apps_by_name, basename);
+
+ if (dup)