Commit ed200ccf authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Fix harmless, but scary CRITICAL.

2005-06-12  Morten Welinder  <terra@gnome.org>

	* dialog-sheet-order.c (cb_ok_clicked): Fix harmless, but scary
	CRITICAL.
parent 65e10920
2005-06-12 Morten Welinder <terra@gnome.org>
* dialog-sheet-order.c (cb_ok_clicked): Fix harmless, but scary
CRITICAL.
2005-06-10 Morten Welinder <terra@gnome.org>
* dialog-sheet-order.c (cb_add_clicked): Plug leak.
......
......@@ -695,7 +695,8 @@ cb_ok_clicked (G_GNUC_UNUSED GtkWidget *ignore, SheetManager *state)
GINT_TO_POINTER (is_visible ? GNM_SHEET_VISIBILITY_VISIBLE : GNM_SHEET_VISIBILITY_HIDDEN));
}
g_object_set (this_sheet, "text-is-rtl", is_rtl, NULL);
if (this_sheet)
g_object_set (this_sheet, "text-is-rtl", is_rtl, NULL);
} else {
deleted_sheets = g_slist_prepend (deleted_sheets,
GINT_TO_POINTER (this_sheet_idx));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment