* src/maemo/modest-msg-view-window.c:
(modest_msg_view_window_show_toolbar): Prevent hide/show of a NULL toolbar widget,
when opening a message window.
pmo-trunk-r1696
2007-04-27 Murray Cumming <murrayc@murrayc.com>
+ * src/maemo/modest-msg-view-window.c:
+ (modest_msg_view_window_show_toolbar): Prevent hide/show of a NULL toolbar widget,
+ when opening a message window.
+
+2007-04-27 Murray Cumming <murrayc@murrayc.com>
+
* src/maemo/easysetup/modest-easysetup-wizard.c:
(create_page_custom_outgoing): Correct the position of the horizontal separator to
match the UI spec.
gtk_widget_tap_and_hold_setup (GTK_WIDGET (reply_button), menu, NULL, 0);
}
-
- if (show_toolbar)
- gtk_widget_show (GTK_WIDGET (parent_priv->toolbar));
- else
- gtk_widget_hide (GTK_WIDGET (parent_priv->toolbar));
+ /* TODO: Why is this sometimes NULL? murrayc */
+ if (parent_priv->toolbar) {
+ if (show_toolbar)
+ gtk_widget_show (GTK_WIDGET (parent_priv->toolbar));
+ else
+ gtk_widget_hide (GTK_WIDGET (parent_priv->toolbar));
+ }
}