Author: wolvverine Date: Thu Aug 21 12:07:58 2008 GMT Module: SOURCES Tag: HEAD ---- Log message: -fix-crash-on-inactive-display
---- Files affected: SOURCES: xorg-app-grandr-fix-crash-on-inactive-display.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/xorg-app-grandr-fix-crash-on-inactive-display.patch diff -u /dev/null SOURCES/xorg-app-grandr-fix-crash-on-inactive-display.patch:1.1 --- /dev/null Thu Aug 21 14:07:58 2008 +++ SOURCES/xorg-app-grandr-fix-crash-on-inactive-display.patch Thu Aug 21 14:07:51 2008 @@ -0,0 +1,14 @@ +diff --git a/src/callbacks.c b/src/callbacks.c +index f5a4bd4..44fb7f6 100644 +--- a/src/callbacks.c ++++ b/src/callbacks.c +@@ -160,7 +160,8 @@ on_modes_combo_changed (GtkComboBox *combobox, + int mode_id; + + model = gtk_combo_box_get_model (combobox); +- gtk_combo_box_get_active_iter (combobox, &iter); ++ if (!gtk_combo_box_get_active_iter (combobox, &iter)) ++ return; + gtk_tree_model_get (model, &iter, + COL_MODE_ID, &mode_id, + -1); ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
