]> spindle.queued.net Git - midori/commitdiff
Use GTK_COMBO_BOX_TEXT with Statusbar Features
authorChristian Dywan <christian@twotoasts.de>
Thu, 20 Oct 2011 21:36:34 +0000 (23:36 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 20 Oct 2011 21:36:34 +0000 (23:36 +0200)
extensions/statusbar-features.c

index a6b8acc56e4d8bce02613ec59e34fe2912919b81..be47b9ddf8a5c1f61c51c9df7b90f14e5b208485 100644 (file)
@@ -157,7 +157,7 @@ statusbar_features_app_add_browser_cb (MidoriApp*       app,
     button = gtk_combo_box_text_new_with_entry ();
     gtk_entry_set_width_chars (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (button))), 4);
     for (i = 0; i < G_N_ELEMENTS (zoom_levels); i++)
-        gtk_combo_box_text_append_text (GTK_COMBO_BOX (button), zoom_levels[i].label);
+        gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (button), zoom_levels[i].label);
     gtk_box_pack_start (GTK_BOX (bbox), button, FALSE, FALSE, 2);
     g_signal_connect (button, "changed",
         G_CALLBACK (statusbar_features_zoom_level_changed_cb), browser);