summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/math-window.c8
1 files changed, 0 insertions, 8 deletions
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)
{