[gtk+] toolitem: fix a copy/paste typo
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] toolitem: fix a copy/paste typo
- Date: Wed, 30 Dec 2015 00:34:02 +0000 (UTC)
commit 3740c7f09265e952e92566045c69edec50ad9b1a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Dec 29 16:33:34 2015 -0800
toolitem: fix a copy/paste typo
gtk/gtktoolitem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c
index dab39e1..af1857d 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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]