if (_hint == g_intern_string ("blurb"))
nick = g_param_spec_get_blurb (pspec);
GtkWidget* widget;
- const gchar* string;
+ gchar* string = NULL;
if (type == G_TYPE_PARAM_BOOLEAN)
{
widget = gtk_check_button_new_with_label (nick);
}
else
widget = gtk_label_new (nick);
+ g_free (string);
gtk_widget_set_sensitive (widget, pspec->flags & G_PARAM_WRITABLE);
GtkWidget* web_view = midori_browser_get_current_web_view (browser);
g_object_set (web_view, "uri", new_uri, NULL);
g_free (new_uri);
+ gtk_widget_grab_focus (web_view);
}
return TRUE;
}