--- a/configure.ac +++ b/configure.ac @@ -85,9 +85,9 @@ YELP_HELP_INIT # MATE Libs # ********** -GLIB_REQUIRED=2.50.0 -GIO_REQUIRED=2.50.0 -GTK_REQUIRED=3.22.0 +GLIB_REQUIRED=2.48.0 +GIO_REQUIRED=2.48.0 +GTK_REQUIRED=3.20.0 MATE_DESKTOP_REQUIRED=1.17.0 GDKPIXBUF_REQUIRED=2.30.0 SHARED_MIME_INFO_REQUIRED=0.20 --- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c +++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c @@ -358,7 +358,12 @@ popup_context_menu_cb (GtkWidget menu = GTK_MENU (gtk_ui_manager_get_widget (etoolbar->priv->manager, etoolbar->priv->popup_path)); g_return_if_fail (menu != NULL); +#if GTK_CHECK_VERSION (3, 22, 0) gtk_menu_popup_at_pointer (menu, NULL); +#else + gtk_menu_popup (menu, NULL, NULL, + NULL, NULL, button_number, GDK_CURRENT_TIME); +#endif g_signal_connect_object (menu, "selection-done", G_CALLBACK (popup_context_deactivate), etoolbar, 0); @@ -380,7 +385,12 @@ button_press_event_cb (GtkWidget *widget menu = GTK_MENU (gtk_ui_manager_get_widget (etoolbar->priv->manager, etoolbar->priv->popup_path)); g_return_val_if_fail (menu != NULL, FALSE); +#if GTK_CHECK_VERSION (3, 22, 0) gtk_menu_popup_at_pointer (menu, (const GdkEvent*) event); +#else + gtk_menu_popup (menu, NULL, NULL, + NULL, NULL, event->button, event->time); +#endif g_signal_connect_object (menu, "selection-done", G_CALLBACK (popup_context_deactivate), etoolbar, 0); --- a/data/eom-image-properties-dialog.ui +++ b/data/eom-image-properties-dialog.ui @@ -1,7 +1,7 @@ - +