Remove unneded notebook variable from midori_view_speed_dial_save

This commit is contained in:
Paweł Forysiuk 2011-03-26 00:10:45 +01:00 committed by Christian Dywan
parent 6719943d1c
commit ac875f73de

View file

@ -5582,13 +5582,11 @@ midori_view_speed_dial_save (MidoriView* view,
gchar* config_file; gchar* config_file;
GKeyFile* key_file; GKeyFile* key_file;
MidoriBrowser* browser = midori_browser_get_for_widget (GTK_WIDGET (view)); MidoriBrowser* browser = midori_browser_get_for_widget (GTK_WIDGET (view));
GtkWidget* notebook;
gchar* msg = g_strdup (message + 16); gchar* msg = g_strdup (message + 16);
gchar** parts = g_strsplit (msg, " ", 4); gchar** parts = g_strsplit (msg, " ", 4);
gint i; gint i;
GtkWidget* tab; GtkWidget* tab;
g_object_get (browser, "notebook", &notebook, NULL);
g_object_get (browser, "speed-dial", &key_file, NULL); g_object_get (browser, "speed-dial", &key_file, NULL);
action = parts[0]; action = parts[0];