From 68da519dea443e0b3100065833887e867d8e615a Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 27 Jan 2018 19:07:58 +0100 Subject: building: bump required glib and gtk+ versions and drop old bits --- src/math-window.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') 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) { -- cgit v1.2.1