summaryrefslogtreecommitdiff
path: root/src/math-window.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-01-27 19:07:58 +0100
committerraveit65 <[email protected]>2018-01-27 19:07:58 +0100
commit68da519dea443e0b3100065833887e867d8e615a (patch)
tree1bdd5e1d4a98c35c6d3c7710ac071a4c7be11d60 /src/math-window.c
parent1d5300967f4a0e6c1a855f114fd074b96f5a3700 (diff)
downloadmate-calc-68da519dea443e0b3100065833887e867d8e615a.tar.bz2
mate-calc-68da519dea443e0b3100065833887e867d8e615a.tar.xz
building: bump required glib and gtk+ versions
and drop old bits
Diffstat (limited to 'src/math-window.c')
-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)
{