diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2011-06-09 22:29:56 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2011-06-09 23:11:19 +0800 |
commit | ffae9a0909f5a12e510038840586044a77b7baec (patch) | |
tree | 21a5141eb756a6cafbee1ca0836db4901202bb38 /lib/widgets/ephy-download-widget.c | |
parent | 0f61b9bd7ab89b70f1323f08b4f26a27b005d62a (diff) | |
download | gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.tar gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.tar.gz gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.tar.bz2 gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.tar.lz gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.tar.xz gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.tar.zst gsoc2013-epiphany-ffae9a0909f5a12e510038840586044a77b7baec.zip |
Use GtkOrientable interface instead of deprecated V/H widgets
Gtk[HV]Box, Gtk[HV]Separator, Gtk[HV]Paned are deprecated in GTK+ 3.2,
so let's use the GtkOrientable interface instead.
GtkBox is likely to dissapear soon too, so a migration to GtkGrid
might be necessary at some point.
https://bugzilla.gnome.org/show_bug.cgi?id=652201
Diffstat (limited to 'lib/widgets/ephy-download-widget.c')
-rw-r--r-- | lib/widgets/ephy-download-widget.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/widgets/ephy-download-widget.c b/lib/widgets/ephy-download-widget.c index 4c8103fbd..e8353a94e 100644 --- a/lib/widgets/ephy-download-widget.c +++ b/lib/widgets/ephy-download-widget.c @@ -33,7 +33,7 @@ #include <glib/gi18n.h> #include <webkit/webkit.h> -G_DEFINE_TYPE (EphyDownloadWidget, ephy_download_widget, GTK_TYPE_HBOX) +G_DEFINE_TYPE (EphyDownloadWidget, ephy_download_widget, GTK_TYPE_BOX) #define DOWNLOAD_WIDGET_PRIVATE(o) \ (G_TYPE_INSTANCE_GET_PRIVATE ((o), EPHY_TYPE_DOWNLOAD_WIDGET, EphyDownloadWidgetPrivate)) @@ -399,6 +399,9 @@ static void ephy_download_widget_init (EphyDownloadWidget *self) { self->priv = DOWNLOAD_WIDGET_PRIVATE (self); + + gtk_orientable_set_orientation (GTK_ORIENTABLE (self), + GTK_ORIENTATION_HORIZONTAL); } /** |