[gnumeric] add missed file to previous commit



commit 9869bb7e996b37c7efec336953756cd100f2c991
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date:   Wed May 29 22:44:30 2013 -0600

    add missed file to previous commit

 src/dialogs/dialog-cell-format-cond.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/dialogs/dialog-cell-format-cond.c b/src/dialogs/dialog-cell-format-cond.c
index 535bccf..41b7074 100644
--- a/src/dialogs/dialog-cell-format-cond.c
+++ b/src/dialogs/dialog-cell-format-cond.c
@@ -276,8 +276,10 @@ c_fmt_dialog_select_style (CFormatState *state, int pages)
                (state->wbcg, pages,
                 GTK_WINDOW (state->dialog),
                 state->editor.style, state);
-       g_signal_connect (G_OBJECT (state->editor.dialog), 
-                         "destroy", G_CALLBACK (editor_destroy_cb), state);
+       if (state->editor.dialog)
+               g_signal_connect 
+                       (G_OBJECT (state->editor.dialog), 
+                        "destroy", G_CALLBACK (editor_destroy_cb), state);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]