]> spindle.queued.net Git - midori/commitdiff
Remove unneded notebook variable from midori_view_speed_dial_save
authorPaweł Forysiuk <tuxator@o2.pl>
Fri, 25 Mar 2011 23:10:45 +0000 (00:10 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 3 Apr 2011 22:20:42 +0000 (00:20 +0200)
midori/midori-view.c

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