From ae5f4711a21508a70d7123dbc0efb610af1289a2 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 23 Nov 2016 18:15:54 +0300 Subject: move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option and require caja >= 1.17.1 --- libmisc/ev-page-action-widget.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libmisc/ev-page-action-widget.c') diff --git a/libmisc/ev-page-action-widget.c b/libmisc/ev-page-action-widget.c index 34e3371e..05322ef7 100644 --- a/libmisc/ev-page-action-widget.c +++ b/libmisc/ev-page-action-widget.c @@ -28,10 +28,6 @@ #include "ev-page-action.h" #include "ev-page-action-widget.h" -#if GTK_CHECK_VERSION (3, 0, 0) -#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y) -#endif - /* Widget we pass back */ static void ev_page_action_widget_init (EvPageActionWidget *action_widget); static void ev_page_action_widget_class_init (EvPageActionWidgetClass *action_widget); @@ -162,7 +158,7 @@ ev_page_action_widget_init (EvPageActionWidget *action_widget) GtkWidget *hbox; AtkObject *obj; - hbox = gtk_hbox_new (FALSE, 0); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); gtk_box_set_spacing (GTK_BOX (hbox), 6); action_widget->entry = gtk_entry_new (); -- cgit v1.2.1