Commit 3740c7f0 authored by Cosimo Cecchi's avatar Cosimo Cecchi

toolitem: fix a copy/paste typo

parent 79c045ed
...@@ -707,7 +707,7 @@ gtk_tool_item_get_ellipsize_mode (GtkToolItem *tool_item) ...@@ -707,7 +707,7 @@ gtk_tool_item_get_ellipsize_mode (GtkToolItem *tool_item)
{ {
GtkWidget *parent; GtkWidget *parent;
g_return_val_if_fail (GTK_IS_TOOL_ITEM (tool_item), GTK_ORIENTATION_HORIZONTAL); g_return_val_if_fail (GTK_IS_TOOL_ITEM (tool_item), PANGO_ELLIPSIZE_NONE);
parent = gtk_widget_get_parent (GTK_WIDGET (tool_item)); parent = gtk_widget_get_parent (GTK_WIDGET (tool_item));
if (!parent || !GTK_IS_TOOL_SHELL (parent)) if (!parent || !GTK_IS_TOOL_SHELL (parent))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment