summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-05-19 05:22:00 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-05-19 05:22:00 +0000
commit40d59813227a14b8d736afe07dfdcce898f59f9b (patch)
treefd7e0d713cf8024cbc67d31d424f338fe438375a /gtk/gtknotebook.h
parent924d6fdc4e6e920b16ef3caed41903e9a81db2cc (diff)
downloadgtk+-40d59813227a14b8d736afe07dfdcce898f59f9b.tar.gz
Deprecate gtk_notebook_[gs]et_group_id in favour of new functions
2007-05-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id in favour of new functions gtk_notebook_[gs]et_group, which takes a pointer as group identifier and makes it easier to avoid group id collisions. (#386930, Christian Hammond) * tests/testnotebookdnd.c: Use new grouping api. svn path=/trunk/; revision=17873
Diffstat (limited to 'gtk/gtknotebook.h')
-rw-r--r--gtk/gtknotebook.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h
index 55db1708c2..c5e648f1b2 100644
--- a/gtk/gtknotebook.h
+++ b/gtk/gtknotebook.h
@@ -165,12 +165,21 @@ void gtk_notebook_remove_page (GtkNotebook *notebook,
void gtk_notebook_set_window_creation_hook (GtkNotebookWindowCreationFunc func,
gpointer data,
GDestroyNotify destroy);
+#ifndef GTK_DISABLE_DEPRECATED
void gtk_notebook_set_group_id (GtkNotebook *notebook,
gint group_id);
gint gtk_notebook_get_group_id (GtkNotebook *notebook);
+#endif /* GTK_DISABLE_DEPRECATED */
+
+void gtk_notebook_set_group (GtkNotebook *notebook,
+ gpointer group);
+gpointer gtk_notebook_get_group (GtkNotebook *notebook);
+
+
+
/***********************************************************
- * query, set current NoteebookPage *
+ * query, set current NotebookPage *
***********************************************************/
gint gtk_notebook_get_current_page (GtkNotebook *notebook);