diff options
author | monsta <[email protected]> | 2016-01-15 13:54:23 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-15 16:46:34 +0300 |
commit | f0450bb4001a9d37025578b7933b552cb07b27f6 (patch) | |
tree | b17ea5acdb50fcb1629375dcc6185b1e5b5fb2b2 /libslab/app-resizer.c | |
parent | c04a7d200ae5719ee1ce78aab692007b37003b0b (diff) | |
download | mate-control-center-f0450bb4001a9d37025578b7933b552cb07b27f6.tar.bz2 mate-control-center-f0450bb4001a9d37025578b7933b552cb07b27f6.tar.xz |
libslab: use GtkBox instead of GtkVBox in both GTK+ builds
and fix deprecated usage of GtkHBox and GtkVBox in GTK+3 build
NOTE: this commit changes the public interface of libslab in both GTK+ builds
(due to transition of classes' parents and/or members from GtkVBox to GtkBox)
Diffstat (limited to 'libslab/app-resizer.c')
-rw-r--r-- | libslab/app-resizer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libslab/app-resizer.c b/libslab/app-resizer.c index 1ffeb7e5..da304ecc 100644 --- a/libslab/app-resizer.c +++ b/libslab/app-resizer.c @@ -275,13 +275,12 @@ app_resizer_size_allocate (GtkWidget * widget, GtkAllocation * allocation) } GtkWidget * -app_resizer_new (GtkVBox * child, gint initial_num_columns, gboolean homogeneous, +app_resizer_new (GtkBox * child, gint initial_num_columns, gboolean homogeneous, AppShellData * app_data) { AppResizer *widget; g_assert (child != NULL); - g_assert (GTK_IS_VBOX (child)); widget = g_object_new (APP_RESIZER_TYPE, NULL); widget->cached_element_width = -1; |