diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ev-page-action-widget.c | 4 |
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 (); |