summaryrefslogtreecommitdiff
path: root/capplet
diff options
context:
space:
mode:
Diffstat (limited to 'capplet')
-rw-r--r--capplet/main.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/capplet/main.c b/capplet/main.c
index 257618f..30c2ac6 100644
--- a/capplet/main.c
+++ b/capplet/main.c
@@ -38,7 +38,6 @@ static GOptionEntry options[] = {
static void dialog_response(GsmPropertiesDialog* dialog, guint response_id, gpointer data)
{
-#if GTK_CHECK_VERSION (3, 22, 0)
GError* error;
if (response_id == GTK_RESPONSE_HELP)
@@ -46,18 +45,6 @@ static void dialog_response(GsmPropertiesDialog* dialog, guint response_id, gpoi
error = NULL;
gtk_show_uri_on_window (GTK_WINDOW (dialog), "help:mate-user-guide/gosstartsession-2",
gtk_get_current_event_time (), &error);
-#else
- GdkScreen* screen;
- GError* error;
-
- if (response_id == GTK_RESPONSE_HELP)
- {
- screen = gtk_widget_get_screen(GTK_WIDGET (dialog));
-
- error = NULL;
- gtk_show_uri (screen, "help:mate-user-guide/gosstartsession-2",
- gtk_get_current_event_time (), &error);
-#endif
if (error != NULL)
{