diff options
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | src/math-window.c | 8 |
2 files changed, 2 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac index a56b11d..809eb05 100644 --- a/configure.ac +++ b/configure.ac @@ -19,9 +19,9 @@ dnl ########################################################################### dnl Dependencies dnl ########################################################################### -GLIB_REQUIRED=2.36.0 +GLIB_REQUIRED=2.50.0 GIO_REQUIRED=2.36.0 -GTK_REQUIRED=3.14.0 +GTK_REQUIRED=3.22.0 PKG_CHECK_MODULES(MATE_CALC, [ gtk+-3.0 >= $GTK_REQUIRED diff --git a/src/math-window.c b/src/math-window.c index 8268b3f..47b2f60 100644 --- a/src/math-window.c +++ b/src/math-window.c @@ -198,20 +198,12 @@ static void redo_cb(GtkWidget *widget, MathWindow *window) static void help_cb(GtkWidget *widget, MathWindow *window) { -#if GTK_CHECK_VERSION (3, 22, 0) GError *error = NULL; gtk_show_uri_on_window(GTK_WINDOW(window), "help:mate-calc", gtk_get_current_event_time(), &error); -#else - GdkScreen *screen; - GError *error = NULL; - - screen = gtk_widget_get_screen(GTK_WIDGET(window)); - gtk_show_uri(screen, "help:mate-calc", gtk_get_current_event_time(), &error); -#endif if (error != NULL) { |