From 129c6af2f177d9413bb1280f8dd5be2fbb82a150 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 20 Jan 2016 17:32:38 +0300 Subject: information-panel: one more GtkWidget* usage also use GtkBox type in both GTK+ builds --- src/caja-information-panel.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/caja-information-panel.c b/src/caja-information-panel.c index 001a7cb9..417f2b85 100644 --- a/src/caja-information-panel.c +++ b/src/caja-information-panel.c @@ -55,7 +55,7 @@ struct CajaInformationPanelDetails CajaWindowInfo *window; CajaSidebarTitle *title; GtkWidget *button_box_centerer; - GtkVBox *button_box; + GtkWidget *button_box; gboolean has_buttons; CajaFile *file; guint file_changed_connection; @@ -235,11 +235,11 @@ make_button_box (CajaInformationPanel *information_panel) gtk_box_pack_start (GTK_BOX (information_panel->details->container), information_panel->details->button_box_centerer, TRUE, TRUE, 0); - information_panel->details->button_box = GTK_VBOX (caja_keep_last_vertical_box_new (4)); + information_panel->details->button_box = caja_keep_last_vertical_box_new (4); gtk_container_set_border_width (GTK_CONTAINER (information_panel->details->button_box), 8); - gtk_widget_show (GTK_WIDGET (information_panel->details->button_box)); + gtk_widget_show (information_panel->details->button_box); gtk_box_pack_start (GTK_BOX (information_panel->details->button_box_centerer), - GTK_WIDGET (information_panel->details->button_box), + information_panel->details->button_box, TRUE, TRUE, 0); information_panel->details->has_buttons = FALSE; } -- cgit v1.2.1