diff options
author | monsta <[email protected]> | 2016-01-20 17:32:38 +0300 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-01-23 03:59:55 +0100 |
commit | 129c6af2f177d9413bb1280f8dd5be2fbb82a150 (patch) | |
tree | 055a85bdea8ad75325fbcb2fca83b9fc6b50bbb3 /src | |
parent | 333dad8ccd723175c2949c7fa0ad34b554f6af3c (diff) | |
download | caja-129c6af2f177d9413bb1280f8dd5be2fbb82a150.tar.bz2 caja-129c6af2f177d9413bb1280f8dd5be2fbb82a150.tar.xz |
information-panel: one more GtkWidget* usage
also use GtkBox type in both GTK+ builds
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-information-panel.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |