summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2009-10-21 18:25:02 +0200
committerChristian Dywan <christian@twotoasts.de>2009-10-21 18:25:02 +0200
commit272e0b5b763a5deefe8138fb053fe72ef1ac0d4c (patch)
tree206d564f86a147b39b43e71cba67333b38f72589 /gtk
parent7c6823373aa82b6b2749c01bfa6fcdedac963412 (diff)
downloadgtk+-272e0b5b763a5deefe8138fb053fe72ef1ac0d4c.tar.gz
Deprecated GtkNotebook tab packing
https://bugzilla.gnome.org/show_bug.cgi?id=596083
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtk.symbols4
-rw-r--r--gtk/gtknotebook.c4
-rw-r--r--gtk/gtknotebook.h2
3 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols
index a32855e5e4..8f19b5d5e4 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -2634,7 +2634,9 @@ gtk_notebook_popup_enable
gtk_notebook_prepend_page
gtk_notebook_prepend_page_menu
gtk_notebook_prev_page
+#ifndef GTK_DISABLE_DEPRECATED
gtk_notebook_query_tab_label_packing
+#endif
gtk_notebook_remove_page
gtk_notebook_reorder_child
gtk_notebook_set_current_page
@@ -2650,7 +2652,9 @@ gtk_notebook_set_scrollable
gtk_notebook_set_show_border
gtk_notebook_set_show_tabs
gtk_notebook_set_tab_label
+#ifndef GTK_DISABLE_DEPRECATED
gtk_notebook_set_tab_label_packing
+#endif
gtk_notebook_set_tab_label_text
gtk_notebook_set_tab_pos
gtk_notebook_set_window_creation_hook
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 2c6a507a4c..e42e2fa7dc 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -7198,6 +7198,8 @@ gtk_notebook_child_reordered (GtkNotebook *notebook,
* Sets the packing parameters for the tab label of the page
* containing @child. See gtk_box_pack_start() for the exact meaning
* of the parameters.
+ *
+ * Deprecated: 2.20: Modify the "expand" and "fill" child properties instead.
**/
void
gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
@@ -7249,6 +7251,8 @@ gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
*
* Query the packing attributes for the tab label of the page
* containing @child.
+ *
+ * Deprecated: 2.20: Modify the "expand" and "fill" child properties instead.
**/
void
gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h
index 0659cc92d2..41bbe66979 100644
--- a/gtk/gtknotebook.h
+++ b/gtk/gtknotebook.h
@@ -261,6 +261,7 @@ void gtk_notebook_set_menu_label_text (GtkNotebook *notebook,
const gchar *menu_text);
G_CONST_RETURN gchar *gtk_notebook_get_menu_label_text (GtkNotebook *notebook,
GtkWidget *child);
+#ifndef GTK_DISABLE_DEPRECATED
void gtk_notebook_query_tab_label_packing (GtkNotebook *notebook,
GtkWidget *child,
gboolean *expand,
@@ -271,6 +272,7 @@ void gtk_notebook_set_tab_label_packing (GtkNotebook *notebook,
gboolean expand,
gboolean fill,
GtkPackType pack_type);
+#endif
void gtk_notebook_reorder_child (GtkNotebook *notebook,
GtkWidget *child,
gint position);