(trunk gtk) add portability wrappers for gtk_hbox_new() and gtk_vbox_new(), which are deprecated now in GTK+ 3.2

This commit is contained in:
Jordan Lee
2011-10-11 04:11:08 +00:00
parent 94ea901162
commit f9388714b7
9 changed files with 57 additions and 26 deletions

View File

@@ -88,6 +88,12 @@ const char* gtr_get_help_uri( void );
****
***/
/* backwards-compatible wrapper around gtk_hbox_new() */
GtkWidget* gtr_hbox_new( gboolean homogenous, gint spacing );
/* backwards-compatible wrapper around gtk_vbox_new() */
GtkWidget* gtr_vbox_new( gboolean homogenous, gint spacing );
/* backwards-compatible wrapper around gtk_widget_set_visible() */
void gtr_widget_set_visible( GtkWidget *, gboolean );