SOURCES: xorg-app-grandr-gconf.patch (NEW) - added patch from upst...
deejay1
deejay1 at pld-linux.org
Thu Jun 21 19:39:39 CEST 2007
Author: deejay1 Date: Thu Jun 21 17:39:39 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- added patch from upstream
- "fixes a segfault at startup when no gconf value is set"
---- Files affected:
SOURCES:
xorg-app-grandr-gconf.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/xorg-app-grandr-gconf.patch
diff -u /dev/null SOURCES/xorg-app-grandr-gconf.patch:1.1
--- /dev/null Thu Jun 21 19:39:39 2007
+++ SOURCES/xorg-app-grandr-gconf.patch Thu Jun 21 19:39:34 2007
@@ -0,0 +1,13 @@
+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);
================================================================
More information about the pld-cvs-commit
mailing list