diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2015-12-29 16:33:34 -0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2015-12-29 16:33:53 -0800 |
commit | 3740c7f09265e952e92566045c69edec50ad9b1a (patch) | |
tree | df3433e0e27c14118744afc11b81c6160af73a11 /gtk/gtktoolitem.c | |
parent | 79c045ed8080e0e91962821593e6d189f7070ca7 (diff) | |
download | gtk+-3740c7f09265e952e92566045c69edec50ad9b1a.tar.gz |
toolitem: fix a copy/paste typo
Diffstat (limited to 'gtk/gtktoolitem.c')
-rw-r--r-- | gtk/gtktoolitem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index dab39e1bc3..af1857de26 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -707,7 +707,7 @@ gtk_tool_item_get_ellipsize_mode (GtkToolItem *tool_item) { 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)); if (!parent || !GTK_IS_TOOL_SHELL (parent)) |