summaryrefslogtreecommitdiff
path: root/gtk/gtktoolitemgroup.c
diff options
context:
space:
mode:
authorJohannes Schmid <jhs@gnome.org>2009-11-11 09:27:00 +0100
committerJohannes Schmid <jhs@gnome.org>2009-11-11 09:27:00 +0100
commite8b640104e5c71b497deea9c2f90016a24d70c2b (patch)
tree2f169d4bd1f95c0b8e8d0a48c1127b3a2702a056 /gtk/gtktoolitemgroup.c
parent1de2a55eaf9173e9de3bcb886c20695c511e1470 (diff)
downloadgtk+-e8b640104e5c71b497deea9c2f90016a24d70c2b.tar.gz
toolpalette: Always show text horizontally
Diffstat (limited to 'gtk/gtktoolitemgroup.c')
-rw-r--r--gtk/gtktoolitemgroup.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c
index aa7362bc2b..073228b6d4 100644
--- a/gtk/gtktoolitemgroup.c
+++ b/gtk/gtktoolitemgroup.c
@@ -168,17 +168,6 @@ gtk_tool_item_group_get_text_alignment (GtkToolShell *shell)
static GtkOrientation
gtk_tool_item_group_get_text_orientation (GtkToolShell *shell)
{
- GtkWidget *parent = gtk_widget_get_parent (GTK_WIDGET (shell));
-
- if (GTK_IS_TOOL_PALETTE (parent))
- {
- GtkOrientation orientation = gtk_orientable_get_orientation (GTK_ORIENTABLE (parent));
- if (GTK_ORIENTATION_HORIZONTAL == orientation &&
- (GTK_TOOLBAR_TEXT == gtk_tool_item_group_get_style (shell)/* ||
- GTK_TOOLBAR_BOTH_HORIZ == gtk_tool_item_group_get_style (shell)*/))
- return GTK_ORIENTATION_VERTICAL;
- }
-
return GTK_ORIENTATION_HORIZONTAL;
}