Remove deprecated code: GtkPaned
This commit is contained in:
parent
3e9fac395a
commit
9e30bf3d60
@ -2845,12 +2845,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
|
||||
@ -2864,7 +2862,6 @@ GTK_PANED_GET_CLASS
|
||||
|
||||
<SUBSECTION Private>
|
||||
gtk_paned_get_type
|
||||
gtk_paned_compute_position
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
|
@ -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().
|
||||
|
@ -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>
|
||||
|
||||
|
@ -2459,9 +2459,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
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user