diff options
author | raveit65 <[email protected]> | 2016-07-04 15:59:22 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-07-11 22:28:14 +0200 |
commit | f77ad856edec429eb91062d81ebf567f52a27346 (patch) | |
tree | f974461d7e5a748e5e5d65559603a97478c84688 /src/caja-location-bar.c | |
parent | c75269f5b317ffa20142d640108ab64b85835e09 (diff) | |
download | caja-f77ad856edec429eb91062d81ebf567f52a27346.tar.bz2 caja-f77ad856edec429eb91062d81ebf567f52a27346.tar.xz |
location-bar: fix deprecated GTK_TYPE_HBOX usage
Diffstat (limited to 'src/caja-location-bar.c')
-rw-r--r-- | src/caja-location-bar.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/caja-location-bar.c b/src/caja-location-bar.c index 64ccc87e..036a42c1 100644 --- a/src/caja-location-bar.c +++ b/src/caja-location-bar.c @@ -101,7 +101,7 @@ static const GtkTargetEntry drop_types [] = { CAJA_DND_TEXT_PLAIN_TYPE, 0, CAJA_DND_TEXT_PLAIN }, }; -G_DEFINE_TYPE (CajaLocationBar, caja_location_bar, GTK_TYPE_HBOX); +G_DEFINE_TYPE (CajaLocationBar, caja_location_bar, GTK_TYPE_BOX); static CajaNavigationWindow * caja_location_bar_get_window (GtkWidget *bar) @@ -497,6 +497,9 @@ caja_location_bar_init (CajaLocationBar *bar) bar->details = G_TYPE_INSTANCE_GET_PRIVATE (bar, CAJA_TYPE_LOCATION_BAR, CajaLocationBarDetails); + gtk_orientable_set_orientation (GTK_ORIENTABLE (bar), + GTK_ORIENTATION_HORIZONTAL); + hbox = gtk_hbox_new (0, FALSE); event_box = gtk_event_box_new (); |