Set tool button labels to "" to avoid a regression in GTK+
This commit is contained in:
parent
8471e76f6a
commit
7d3b68d797
1 changed files with 2 additions and 2 deletions
|
@ -399,7 +399,7 @@ katze_array_action_create_tool_item (GtkAction* action)
|
||||||
{
|
{
|
||||||
GtkWidget* toolitem;
|
GtkWidget* toolitem;
|
||||||
|
|
||||||
toolitem = GTK_WIDGET (gtk_tool_button_new (NULL, NULL));
|
toolitem = GTK_WIDGET (gtk_tool_button_new (NULL, ""));
|
||||||
return toolitem;
|
return toolitem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -552,7 +552,7 @@ katze_array_action_create_tool_item_for (KatzeArrayAction* array_action,
|
||||||
if (!KATZE_IS_ARRAY (item) && !uri)
|
if (!KATZE_IS_ARRAY (item) && !uri)
|
||||||
return gtk_separator_tool_item_new ();
|
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_signal_connect (toolitem, "create-menu-proxy",
|
||||||
G_CALLBACK (katze_array_action_proxy_create_menu_proxy_cb), item);
|
G_CALLBACK (katze_array_action_proxy_create_menu_proxy_cb), item);
|
||||||
if (KATZE_IS_ARRAY (item))
|
if (KATZE_IS_ARRAY (item))
|
||||||
|
|
Loading…
Reference in a new issue