[gtk+/gtk-2-90: 79/161] Remove deprecated code: GtkPaned
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 79/161] Remove deprecated code: GtkPaned
- Date: Tue, 23 Mar 2010 21:10:09 +0000 (UTC)
commit c4e57f9ae69fd3147ce18bdbab470409e51aa90e
Author: Javier Jardón <javierjc1982 gmail com>
Date: Fri Oct 9 19:39:00 2009 +0200
Remove deprecated code: GtkPaned
docs/reference/gtk/gtk-sections.txt | 3 ---
docs/reference/gtk/tmpl/gtk-unused.sgml | 10 ----------
docs/reference/gtk/tmpl/gtkpaned.sgml | 19 -------------------
gtk/gtk.symbols | 3 ---
gtk/gtkpaned.c | 11 -----------
gtk/gtkpaned.h | 11 -----------
6 files changed, 0 insertions(+), 57 deletions(-)
---
diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt
index 4119478..9e0f137 100644
--- a/docs/reference/gtk/gtk-sections.txt
+++ b/docs/reference/gtk/gtk-sections.txt
@@ -2842,12 +2842,10 @@ gtk_option_menu_get_type
GtkPaned
gtk_paned_add1
gtk_paned_add2
-gtk_paned_gutter_size
gtk_paned_pack1
gtk_paned_pack2
gtk_paned_get_child1
gtk_paned_get_child2
-gtk_paned_set_gutter_size
gtk_paned_set_position
gtk_paned_get_position
gtk_paned_get_handle_window
@@ -2861,7 +2859,6 @@ GTK_PANED_GET_CLASS
<SUBSECTION Private>
gtk_paned_get_type
-gtk_paned_compute_position
</SECTION>
<SECTION>
diff --git a/docs/reference/gtk/tmpl/gtk-unused.sgml b/docs/reference/gtk/tmpl/gtk-unused.sgml
index 4a7c4e2..cc4ef58 100644
--- a/docs/reference/gtk/tmpl/gtk-unused.sgml
+++ b/docs/reference/gtk/tmpl/gtk-unused.sgml
@@ -3117,16 +3117,6 @@ the names, types, and values of the arguments).
@packer:
@spacing:
-<!-- ##### FUNCTION gtk_paned_compute_position ##### -->
-<para>
-Internal function used by #GtkHPaned and #GtkVPaned
-</para>
-
- paned:
- allocation:
- child1_req:
- child2_req:
-
<!-- ##### MACRO gtk_paned_handle_size ##### -->
<para>
Old name for gtk_paned_set_handle_size().
diff --git a/docs/reference/gtk/tmpl/gtkpaned.sgml b/docs/reference/gtk/tmpl/gtkpaned.sgml
index c7976a2..8ccef04 100644
--- a/docs/reference/gtk/tmpl/gtkpaned.sgml
+++ b/docs/reference/gtk/tmpl/gtkpaned.sgml
@@ -191,15 +191,6 @@ parameters. This is equivalent to
@child: the child to add
-<!-- ##### MACRO gtk_paned_gutter_size ##### -->
-<para>
-Old name for gtk_paned_set_gutter_size().
-</para>
-
- p: a paned widget
- s: the width of the gutter in pixels
-
-
<!-- ##### FUNCTION gtk_paned_pack1 ##### -->
<para>
Adds a child to the top or left pane.
@@ -240,16 +231,6 @@ Adds a child to the bottom or right pane.
@Returns:
-<!-- ##### MACRO gtk_paned_set_gutter_size ##### -->
-<para>
-In older versions of GTK+, this function used to set the width of the
-gutter (the area between the two panes). It does nothing now.
-</para>
-
- p: a paned widget
- s: the width of the gutter in pixels
-
-
<!-- ##### FUNCTION gtk_paned_set_position ##### -->
<para>
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols
index 97a7702..70601dc 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -2445,9 +2445,6 @@ gtk_paned_get_type G_GNUC_CONST
gtk_paned_pack1
gtk_paned_pack2
gtk_paned_set_position
-#ifndef GTK_DISABLE_DEPRECATED
-gtk_paned_compute_position
-#endif
#endif
#endif
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index a244686..ae27929 100644
--- a/gtk/gtkpaned.c
+++ b/gtk/gtkpaned.c
@@ -1570,17 +1570,6 @@ gtk_paned_get_child2 (GtkPaned *paned)
return paned->child2;
}
-void
-gtk_paned_compute_position (GtkPaned *paned,
- gint allocation,
- gint child1_req,
- gint child2_req)
-{
- g_return_if_fail (GTK_IS_PANED (paned));
-
- gtk_paned_calc_position (paned, allocation, child1_req, child2_req);
-}
-
static void
gtk_paned_calc_position (GtkPaned *paned,
gint allocation,
diff --git a/gtk/gtkpaned.h b/gtk/gtkpaned.h
index 1da08a8..7721f94 100644
--- a/gtk/gtkpaned.h
+++ b/gtk/gtkpaned.h
@@ -127,17 +127,6 @@ void gtk_paned_set_position (GtkPaned *paned,
GtkWidget * gtk_paned_get_child1 (GtkPaned *paned);
GtkWidget * gtk_paned_get_child2 (GtkPaned *paned);
-GdkWindow * gtk_paned_get_handle_window (GtkPaned *paned);
-
-#ifndef GTK_DISABLE_DEPRECATED
-/* Internal function */
-void gtk_paned_compute_position (GtkPaned *paned,
- gint allocation,
- gint child1_req,
- gint child2_req);
-#define gtk_paned_gutter_size(p,s) (void) 0
-#define gtk_paned_set_gutter_size(p,s) (void) 0
-#endif /* GTK_DISABLE_DEPRECATED */
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]