gtk+ r20786 - in trunk: . gtk



Author: matthiasc
Date: Sun Jul  6 04:46:36 2008
New Revision: 20786
URL: http://svn.gnome.org/viewvc/gtk+?rev=20786&view=rev

Log:
Deprecate gtk_box_pack_{start,end}_defaults


Modified:
   trunk/ChangeLog
   trunk/gtk/gtk.symbols
   trunk/gtk/gtkbox.c
   trunk/gtk/gtkbox.h

Modified: trunk/gtk/gtk.symbols
==============================================================================
--- trunk/gtk/gtk.symbols	(original)
+++ trunk/gtk/gtk.symbols	Sun Jul  6 04:46:36 2008
@@ -412,9 +412,11 @@
 gtk_box_get_spacing
 gtk_box_get_type G_GNUC_CONST
 gtk_box_pack_end
-gtk_box_pack_end_defaults
 gtk_box_pack_start
+#ifndef GTK_DISABLE_DEPRECATED
+gtk_box_pack_end_defaults
 gtk_box_pack_start_defaults
+#endif
 gtk_box_query_child_packing
 gtk_box_reorder_child
 gtk_box_set_child_packing

Modified: trunk/gtk/gtkbox.c
==============================================================================
--- trunk/gtk/gtkbox.c	(original)
+++ trunk/gtk/gtkbox.c	Sun Jul  6 04:46:36 2008
@@ -441,6 +441,8 @@
  * Parameters for how to pack the child @widget, #GtkBox:expand, 
  * #GtkBox:fill and #GtkBox:padding, are given their default
  * values, %TRUE, %TRUE, and 0, respectively.
+ *
+ * Deprecated: 2.14: Use gtk_box_pack_start()
  */
 void
 gtk_box_pack_start_defaults (GtkBox    *box,
@@ -461,6 +463,8 @@
  * Parameters for how to pack the child @widget, #GtkBox:expand, 
  * #GtkBox:fill and #GtkBox:padding, are given their default
  * values, %TRUE, %TRUE, and 0, respectively.
+ *
+ * Deprecated: 2.14: Use gtk_box_pack_end()
  */
 void
 gtk_box_pack_end_defaults (GtkBox    *box,

Modified: trunk/gtk/gtkbox.h
==============================================================================
--- trunk/gtk/gtkbox.h	(original)
+++ trunk/gtk/gtkbox.h	Sun Jul  6 04:46:36 2008
@@ -88,10 +88,12 @@
 					gboolean      expand,
 					gboolean      fill,
 					guint	      padding);
+#ifndef GTK_DISABLE_DEPRECATED
 void	   gtk_box_pack_start_defaults (GtkBox	     *box,
 					GtkWidget    *widget);
 void	   gtk_box_pack_end_defaults   (GtkBox	     *box,
 					GtkWidget    *widget);
+#endif
 void	   gtk_box_set_homogeneous     (GtkBox	     *box,
 					gboolean      homogeneous);
 gboolean   gtk_box_get_homogeneous     (GtkBox	     *box);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]