+2007-07-31 [paul] 2.10.0cvs81
+
+ * src/setup.c
+ * src/gtk/gtkutils.c
+ fix crash on maemo on first launch
+
2007-07-30 [paul] 2.10.0cvs80
* src/prefs_matcher.c
( cvs diff -u -r 1.105.2.103 -r 1.105.2.104 src/prefs_account.c; ) > 2.10.0cvs78.patchset
( cvs diff -u -r 1.115.2.161 -r 1.115.2.162 src/main.c; ) > 2.10.0cvs79.patchset
( cvs diff -u -r 1.43.2.60 -r 1.43.2.61 src/prefs_matcher.c; ) > 2.10.0cvs80.patchset
+( cvs diff -u -r 1.5.2.13 -r 1.5.2.14 src/setup.c; cvs diff -u -r 1.5.2.62 -r 1.5.2.63 src/gtk/gtkutils.c; ) > 2.10.0cvs81.patchset
void gtkut_widget_draw_now(GtkWidget *widget)
{
- if (GTK_WIDGET_VISIBLE(widget) && GTK_WIDGET_DRAWABLE(widget))
+ if (widget && GTK_WIDGET_VISIBLE(widget) && GTK_WIDGET_DRAWABLE(widget))
gdk_window_process_updates(widget->window, FALSE);
}
str = g_strdup_printf(_("Scanning folder %s ..."),
LOCAL_FOLDER(folder)->rootpath);
- gtk_statusbar_push(GTK_STATUSBAR(mainwin->statusbar),
+ if (mainwin->statusbar)
+ gtk_statusbar_push(GTK_STATUSBAR(mainwin->statusbar),
mainwin->mainwin_cid, str);
- gtkut_widget_draw_now(mainwin->hbox_stat);
- gtk_statusbar_pop(GTK_STATUSBAR(mainwin->statusbar),
+ if (mainwin->hbox_stat)
+ gtkut_widget_draw_now(mainwin->hbox_stat);
+
+ if (mainwin->statusbar)
+ gtk_statusbar_pop(GTK_STATUSBAR(mainwin->statusbar),
mainwin->mainwin_cid);
g_free(str);
}