Add deprecation annotations for GtkHandleBox and GtkTable

This commit is contained in:
Matthias Clasen 2011-10-14 00:54:01 -04:00
parent 520881ac11
commit 7cfb3eda1b
2 changed files with 23 additions and 0 deletions

View File

@ -81,16 +81,24 @@ struct _GtkHandleBoxClass
GType gtk_handle_box_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED
GtkWidget* gtk_handle_box_new (void);
GDK_DEPRECATED
void gtk_handle_box_set_shadow_type (GtkHandleBox *handle_box,
GtkShadowType type);
GDK_DEPRECATED
GtkShadowType gtk_handle_box_get_shadow_type (GtkHandleBox *handle_box);
GDK_DEPRECATED
void gtk_handle_box_set_handle_position (GtkHandleBox *handle_box,
GtkPositionType position);
GDK_DEPRECATED
GtkPositionType gtk_handle_box_get_handle_position(GtkHandleBox *handle_box);
GDK_DEPRECATED
void gtk_handle_box_set_snap_edge (GtkHandleBox *handle_box,
GtkPositionType edge);
GDK_DEPRECATED
GtkPositionType gtk_handle_box_get_snap_edge (GtkHandleBox *handle_box);
GDK_DEPRECATED
gboolean gtk_handle_box_get_child_detached (GtkHandleBox *handle_box);
#endif /* GTK_DISABLE_DEPRECATED */

View File

@ -103,12 +103,15 @@ struct _GtkTableRowCol
GType gtk_table_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_FOR(GtkGrid)
GtkWidget* gtk_table_new (guint rows,
guint columns,
gboolean homogeneous);
GDK_DEPRECATED_FOR(GtkGrid)
void gtk_table_resize (GtkTable *table,
guint rows,
guint columns);
GDK_DEPRECATED_FOR(GtkGrid)
void gtk_table_attach (GtkTable *table,
GtkWidget *child,
guint left_attach,
@ -119,31 +122,43 @@ void gtk_table_attach (GtkTable *table,
GtkAttachOptions yoptions,
guint xpadding,
guint ypadding);
GDK_DEPRECATED_FOR(GtkGrid)
void gtk_table_attach_defaults (GtkTable *table,
GtkWidget *widget,
guint left_attach,
guint right_attach,
guint top_attach,
guint bottom_attach);
GDK_DEPRECATED_FOR(GtkGrid)
void gtk_table_set_row_spacing (GtkTable *table,
guint row,
guint spacing);
GDK_DEPRECATED_FOR(GtkGrid)
guint gtk_table_get_row_spacing (GtkTable *table,
guint row);
GDK_DEPRECATED_FOR(GtkGrid)
void gtk_table_set_col_spacing (GtkTable *table,
guint column,
guint spacing);
GDK_DEPRECATED_FOR(GtkGrid)
guint gtk_table_get_col_spacing (GtkTable *table,
guint column);
GDK_DEPRECATED_FOR(GtkGrid)
void gtk_table_set_row_spacings (GtkTable *table,
guint spacing);
GDK_DEPRECATED_FOR(GtkGrid)
guint gtk_table_get_default_row_spacing (GtkTable *table);
GDK_DEPRECATED_FOR(GtkGrid)
void gtk_table_set_col_spacings (GtkTable *table,
guint spacing);
GDK_DEPRECATED_FOR(GtkGrid)
guint gtk_table_get_default_col_spacing (GtkTable *table);
GDK_DEPRECATED_FOR(GtkGrid)
void gtk_table_set_homogeneous (GtkTable *table,
gboolean homogeneous);
GDK_DEPRECATED_FOR(GtkGrid)
gboolean gtk_table_get_homogeneous (GtkTable *table);
GDK_DEPRECATED_FOR(GtkGrid)
void gtk_table_get_size (GtkTable *table,
guint *rows,
guint *columns);