Fix adjust_window when inputbar is visible

This commit is contained in:
Moritz Lipp 2012-09-17 21:25:48 +02:00
parent a8cd10dcac
commit bb104073f3

View File

@ -90,7 +90,6 @@ sc_adjust_window(girara_session_t* session, girara_argument_t* argument,
/* correct view size */
if (gtk_widget_get_visible(GTK_WIDGET(session->gtk.inputbar)) == true) {
gtk_widget_get_allocation(session->gtk.inputbar, &allocation);
width += allocation.width;
height += allocation.height;
}