summaryrefslogtreecommitdiff
path: root/x11-apps/grandr/files/fix-segfault-without-gconf-value.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-apps/grandr/files/fix-segfault-without-gconf-value.patch')
-rw-r--r--x11-apps/grandr/files/fix-segfault-without-gconf-value.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/x11-apps/grandr/files/fix-segfault-without-gconf-value.patch b/x11-apps/grandr/files/fix-segfault-without-gconf-value.patch
deleted file mode 100644
index fe4cad7..0000000
--- a/x11-apps/grandr/files/fix-segfault-without-gconf-value.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/grandr.c b/src/grandr.c
-index e3e619e..8f0980b 100644
---- a/src/grandr.c
-+++ b/src/grandr.c
-@@ -1381,7 +1381,7 @@ set_hotkeys_view (GtkListStore *hotkey_store)
- NULL);
- command = gconf_client_get_string(client, GCONF_KEY2,
- NULL);
-- if (strcmp(key, HOTKEY) == 0 && strcmp(command, APP_NAME) == 0) {
-+ if (key && strcmp(key, HOTKEY) == 0 && command && strcmp(command, APP_NAME) == 0) {
- gtk_toggle_button_set_active (hotkey_cbtn, TRUE);
- } else {
- gtk_toggle_button_set_active (hotkey_cbtn, FALSE);