summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-09-05 22:34:37 +0200
committerBenjamin Otte <otte@redhat.com>2015-09-07 14:33:40 +0200
commitf138efa59add022d92a149cbbd99e10c3795ed32 (patch)
treef0565e77caba8101302185c6f6a8ec565cea641c /gtk/gtknotebook.c
parent9020b5bd17889e1343890d124c52cd07fadf0b5b (diff)
downloadgtk+-f138efa59add022d92a149cbbd99e10c3795ed32.tar.gz
notebook: Remove unused macros
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 9edb66c3af..8046bf3ee3 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -241,11 +241,7 @@ enum {
#define GTK_NOTEBOOK_PAGE(_glist_) ((GtkNotebookPage *)((GList *)(_glist_))->data)
/* some useful defines for calculating coords */
-#define PAGE_LEFT_X(_page_) (((GtkNotebookPage *) (_page_))->allocation.x)
-#define PAGE_RIGHT_X(_page_) (((GtkNotebookPage *) (_page_))->allocation.x + ((GtkNotebookPage *) (_page_))->allocation.width)
#define PAGE_MIDDLE_X(_page_) (((GtkNotebookPage *) (_page_))->allocation.x + ((GtkNotebookPage *) (_page_))->allocation.width / 2)
-#define PAGE_TOP_Y(_page_) (((GtkNotebookPage *) (_page_))->allocation.y)
-#define PAGE_BOTTOM_Y(_page_) (((GtkNotebookPage *) (_page_))->allocation.y + ((GtkNotebookPage *) (_page_))->allocation.height)
#define PAGE_MIDDLE_Y(_page_) (((GtkNotebookPage *) (_page_))->allocation.y + ((GtkNotebookPage *) (_page_))->allocation.height / 2)
#define NOTEBOOK_IS_TAB_LABEL_PARENT(_notebook_,_page_) (gtk_widget_get_parent (((GtkNotebookPage *) (_page_))->tab_label) == ((GtkWidget *) (_notebook_)))