]> spindle.queued.net Git - midori/commitdiff
Set tool button labels to "" to avoid a regression in GTK+
authorChristian Dywan <christian@twotoasts.de>
Mon, 16 Nov 2009 22:46:03 +0000 (23:46 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 16 Nov 2009 22:46:03 +0000 (23:46 +0100)
katze/katze-arrayaction.c

index 1fb6b925a12e0b1240dc62c23286eb79c93c3b76..f0422dda3b088a4f210cad4c9018e143e898d08e 100644 (file)
@@ -399,7 +399,7 @@ katze_array_action_create_tool_item (GtkAction* action)
 {
     GtkWidget* toolitem;
 
-    toolitem = GTK_WIDGET (gtk_tool_button_new (NULL, NULL));
+    toolitem = GTK_WIDGET (gtk_tool_button_new (NULL, ""));
     return toolitem;
 }
 
@@ -552,7 +552,7 @@ katze_array_action_create_tool_item_for (KatzeArrayAction* array_action,
     if (!KATZE_IS_ARRAY (item) && !uri)
         return gtk_separator_tool_item_new ();
 
-    toolitem = gtk_tool_button_new (NULL, NULL);
+    toolitem = gtk_tool_button_new (NULL, "");
     g_signal_connect (toolitem, "create-menu-proxy",
         G_CALLBACK (katze_array_action_proxy_create_menu_proxy_cb), item);
     if (KATZE_IS_ARRAY (item))