[Xfce4-commits] <midori:master> Set tool button labels to "" to avoid a regression in GTK+

Christian Dywan noreply at xfce.org
Mon Nov 16 23:54:01 CET 2009


Updating branch refs/heads/master
         to 7d3b68d797ad3676f4debac73704b21d390d54dc (commit)
       from 8471e76f6ad8f94c22896befaf0233852efdd728 (commit)

commit 7d3b68d797ad3676f4debac73704b21d390d54dc
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Nov 16 23:46:03 2009 +0100

    Set tool button labels to "" to avoid a regression in GTK+

 katze/katze-arrayaction.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/katze/katze-arrayaction.c b/katze/katze-arrayaction.c
index 1fb6b92..f0422dd 100644
--- a/katze/katze-arrayaction.c
+++ b/katze/katze-arrayaction.c
@@ -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))



More information about the Xfce4-commits mailing list