* src/mainwindow.c
Sync with HEAD
+2005-02-10 [colin] 1.0.1cvs3.1
+
+ * src/mainwindow.c
+ Sync with HEAD
+
2005-02-10 [colin] 1.0.1cvs2.1
* src/messageview.c
2005-02-10 [colin] 1.0.1cvs2.1
* src/messageview.c
( cvs diff -u -r 1.65.2.21 -r 1.65.2.22 src/codeconv.c; ) > 1.0.1cvs1.2.patchset
( cvs diff -u -r 1.96.2.42 -r 1.96.2.43 src/textview.c; cvs diff -u -r 1.12.2.3 -r 1.12.2.4 src/textview.h; ) > 1.0.1cvs1.3.patchset
( cvs diff -u -r 1.94.2.43 -r 1.94.2.44 src/messageview.c; ) > 1.0.1cvs2.1.patchset
( cvs diff -u -r 1.65.2.21 -r 1.65.2.22 src/codeconv.c; ) > 1.0.1cvs1.2.patchset
( cvs diff -u -r 1.96.2.42 -r 1.96.2.43 src/textview.c; cvs diff -u -r 1.12.2.3 -r 1.12.2.4 src/textview.h; ) > 1.0.1cvs1.3.patchset
( cvs diff -u -r 1.94.2.43 -r 1.94.2.44 src/messageview.c; ) > 1.0.1cvs2.1.patchset
+( cvs diff -u -r 1.274.2.30 -r 1.274.2.31 src/mainwindow.c; ) > 1.0.1cvs3.1.patchset
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=.1
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=.1
{
/* TODO : destroy other component */
messageview_destroy(mainwin->messageview);
{
/* TODO : destroy other component */
messageview_destroy(mainwin->messageview);
+ mainwin->messageview = NULL;
}
void main_window_update_actions_menu(MainWindow *mainwin)
}
void main_window_update_actions_menu(MainWindow *mainwin)
{
GtkAllocation *allocation;
{
GtkAllocation *allocation;
+ if (mainwin->messageview == NULL) {
+ debug_print("called after messageview "
+ "has been deallocated!\n");
+ return;
+ }
+
allocation = &(GTK_WIDGET_PTR(mainwin->summaryview)->allocation);
if (allocation->width > 1 && allocation->height > 1) {
allocation = &(GTK_WIDGET_PTR(mainwin->summaryview)->allocation);
if (allocation->width > 1 && allocation->height > 1) {