summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2013-02-23 22:27:10 -0800
committerDan Nicholson <dbn.lists@gmail.com>2013-02-23 22:28:10 -0800
commitc7ebc73c89db6e9ee6c53d13d97707f75372e5e1 (patch)
tree987c2f4e1348d3ab27da3212e68da50fa80bf82c /src
parent19ff61a9767dd4a0efd14a42dbbb440716003b13 (diff)
Avoid Gtk[HV]Box warnings on gtk3
Diffstat (limited to 'src')
-rw-r--r--src/ev-page-action-widget.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ev-page-action-widget.c b/src/ev-page-action-widget.c
index 311c442..143ff70 100644
--- a/src/ev-page-action-widget.c
+++ b/src/ev-page-action-widget.c
@@ -158,7 +158,11 @@ ev_page_action_widget_init (EvPageActionWidget *action_widget)
GtkWidget *hbox;
AtkObject *obj;
+#if GTK_MAJOR_VERSION > 2
+ hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
+#else
hbox = gtk_hbox_new (FALSE, 0);
+#endif
gtk_box_set_spacing (GTK_BOX (hbox), 6);
action_widget->entry = gtk_entry_new ();