In case vimb is embedded the window size is determined by the embedding
application. Setting the default window size in this case caused screen
redraw issue so that statusbar was not updated properly.
* widget is realized. */
gtk_widget_get_preferred_size(GTK_WIDGET(c->window), &req, NULL);
gtk_widget_realize(GTK_WIDGET(c->window));
+ gtk_window_set_default_size(GTK_WINDOW(c->window), WIN_WIDTH, WIN_HEIGHT);
xid = g_strdup_printf("%d",
(int)GDK_WINDOW_XID(gtk_widget_get_window(GTK_WIDGET(c->window))));
}
- gtk_window_set_default_size(GTK_WINDOW(c->window), WIN_WIDTH, WIN_HEIGHT);
-
completion_init(c);
map_init(c);