- gtk_widget_queue_draw (m_frameStatusBar->m_widget);
- // FIXME: Do we really want to force an immediate redraw?
- gdk_window_process_updates (m_frameStatusBar->m_widget->window, TRUE);
+ if (GTK_WIDGET_DRAWABLE (m_frameStatusBar->m_widget))
+ {
+ gtk_widget_queue_draw (m_frameStatusBar->m_widget);
+ // FIXME: Do we really want to force an immediate redraw?
+ gdk_window_process_updates (m_frameStatusBar->m_widget->window, TRUE);
+ }