aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/uzbl.c b/uzbl.c
index 84e496a..cc5f125 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -639,7 +639,7 @@ cmd_set_geometry() {
the above setting and we don't want to end up with
wrong geometry information
*/
- retreive_geometry();
+ retrieve_geometry();
}
void
@@ -1674,6 +1674,10 @@ cmd_useragent() {
void
move_statusbar() {
+ if (!uzbl.gui.scrolled_win &&
+ !uzbl.gui.mainbar)
+ return;
+
gtk_widget_ref(uzbl.gui.scrolled_win);
gtk_widget_ref(uzbl.gui.mainbar);
gtk_container_remove(GTK_CONTAINER(uzbl.gui.vbox), uzbl.gui.scrolled_win);
@@ -2033,7 +2037,7 @@ configure_event_cb(GtkWidget* window, GdkEventConfigure* event) {
(void) window;
(void) event;
- retreive_geometry();
+ retrieve_geometry();
return FALSE;
}
@@ -2735,7 +2739,7 @@ main (int argc, char* argv[]) {
if(uzbl.gui.geometry)
cmd_set_geometry();
else
- retreive_geometry();
+ retrieve_geometry();
gchar *uri_override = (uzbl.state.uri ? g_strdup(uzbl.state.uri) : NULL);
if (argc > 1 && !uzbl.state.uri)