Commit bb104073 authored by Moritz Lipp's avatar Moritz Lipp

Fix adjust_window when inputbar is visible

parent a8cd10dc
...@@ -90,7 +90,6 @@ sc_adjust_window(girara_session_t* session, girara_argument_t* argument, ...@@ -90,7 +90,6 @@ sc_adjust_window(girara_session_t* session, girara_argument_t* argument,
/* correct view size */ /* correct view size */
if (gtk_widget_get_visible(GTK_WIDGET(session->gtk.inputbar)) == true) { if (gtk_widget_get_visible(GTK_WIDGET(session->gtk.inputbar)) == true) {
gtk_widget_get_allocation(session->gtk.inputbar, &allocation); gtk_widget_get_allocation(session->gtk.inputbar, &allocation);
width += allocation.width;
height += allocation.height; height += allocation.height;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment