summaryrefslogtreecommitdiff
path: root/gtk/gtkcellareabox.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2013-04-30 01:15:01 +0200
committerBenjamin Otte <otte@redhat.com>2013-05-01 16:41:11 +0200
commit6146bf7a32bf4ed6061744c30893b84991abe6b7 (patch)
treeac1e45deb9ce388da323f3c2268a3bb2a99a97af /gtk/gtkcellareabox.c
parentea98c61f3c90cdd3b5e34fa57e510e8ca4715f09 (diff)
downloadgtk+-6146bf7a32bf4ed6061744c30893b84991abe6b7.tar.gz
gtkprivate: #define OPPOSITE_ORIENTATION
and use it
Diffstat (limited to 'gtk/gtkcellareabox.c')
-rw-r--r--gtk/gtkcellareabox.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/gtkcellareabox.c b/gtk/gtkcellareabox.c
index aa05220ae1..94915e209c 100644
--- a/gtk/gtkcellareabox.c
+++ b/gtk/gtkcellareabox.c
@@ -239,10 +239,6 @@ G_DEFINE_TYPE_WITH_CODE (GtkCellAreaBox, gtk_cell_area_box, GTK_TYPE_CELL_AREA,
gtk_cell_area_box_cell_layout_init)
G_IMPLEMENT_INTERFACE (GTK_TYPE_ORIENTABLE, NULL));
-#define OPPOSITE_ORIENTATION(orientation) \
- ((orientation) == GTK_ORIENTATION_HORIZONTAL ? \
- GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL)
-
static void
gtk_cell_area_box_init (GtkCellAreaBox *box)
{