Index: gtkpaned.h
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkpaned.h,v
retrieving revision 1.25
diff -u -r1.25 gtkpaned.h
--- gtkpaned.h	31 Jan 2003 00:08:33 -0000	1.25
+++ gtkpaned.h	12 Jan 2004 21:54:38 -0000
@@ -123,6 +123,9 @@
 void    gtk_paned_set_position    (GtkPaned  *paned,
 				   gint       position);
 
+GtkWidget *gtk_paned_get_child1   (GtkPaned  *paned);
+GtkWidget *gtk_paned_get_child2   (GtkPaned  *paned);
+
 /* Internal function */
 #if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
 void    gtk_paned_compute_position (GtkPaned  *paned,
Index: gtkpaned.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkpaned.c,v
retrieving revision 1.61
diff -u -r1.61 gtkpaned.c
--- gtkpaned.c	5 Nov 2003 20:15:19 -0000	1.61
+++ gtkpaned.c	12 Jan 2004 21:54:49 -0000
@@ -1126,6 +1126,42 @@
   gtk_widget_queue_resize (GTK_WIDGET (paned));
 }
 
+/**
+ * gtk_paned_get_child1:
+ * @paned: a #GtkPaned widget
+ * 
+ * Obtains the first child of the paned widget.
+ * 
+ * Return value: first child, or %NULL if it is not set.
+ *
+ * Since: 2.4
+ **/
+GtkWidget *
+gtk_paned_get_child1 (GtkPaned *paned)
+{
+  g_return_val_if_fail (GTK_IS_PANED (paned), NULL);
+
+  return paned->child1;
+}
+
+/**
+ * gtk_paned_get_child2:
+ * @paned: a #GtkPaned widget
+ * 
+ * Obtains the second child of the paned widget.
+ * 
+ * Return value: second child, or %NULL if it is not set.
+ *
+ * Since: 2.4
+ **/
+GtkWidget *
+gtk_paned_get_child2 (GtkPaned *paned)
+{
+  g_return_val_if_fail (GTK_IS_PANED (paned), NULL);
+
+  return paned->child2;
+}
+
 void
 gtk_paned_compute_position (GtkPaned *paned,
 			    gint      allocation,
