summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.h
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2010-07-13 16:49:53 +0200
committerChristian Dywan <christian@twotoasts.de>2010-07-13 16:49:53 +0200
commit04c54efe5cf13cccf9897c4b5d9bf9d364d1e078 (patch)
treee323633ffaedb727e7fc11db6cfef1b3f7436724 /gtk/gtknotebook.h
parenta5272c82a688cf8b115610896f9274151c0d389e (diff)
downloadgtk+-04c54efe5cf13cccf9897c4b5d9bf9d364d1e078.tar.gz
Deprecate GtkNotebookPage as used in switch-page
Fixes: 618327
Diffstat (limited to 'gtk/gtknotebook.h')
-rw-r--r--gtk/gtknotebook.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h
index 97128b8467..0f8dec401d 100644
--- a/gtk/gtknotebook.h
+++ b/gtk/gtknotebook.h
@@ -54,13 +54,19 @@ typedef enum
typedef struct _GtkNotebook GtkNotebook;
typedef struct _GtkNotebookClass GtkNotebookClass;
+#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
typedef struct _GtkNotebookPage GtkNotebookPage;
+#endif
struct _GtkNotebook
{
GtkContainer container;
+#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
GtkNotebookPage *GSEAL (cur_page);
+#else
+ gpointer GSEAL (cur_page);
+#endif
GList *GSEAL (children);
GList *GSEAL (first_tab); /* The first tab visible (for scrolling notebooks) */
GList *GSEAL (focus_tab);
@@ -97,7 +103,11 @@ struct _GtkNotebookClass
GtkContainerClass parent_class;
void (* switch_page) (GtkNotebook *notebook,
+#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
GtkNotebookPage *page,
+#else
+ gpointer page,
+#endif
guint page_num);
/* Action signals for keybindings */