[gnome-games] mahjongg: remove unneeded checks
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] mahjongg: remove unneeded checks
- Date: Mon, 6 Dec 2010 17:47:34 +0000 (UTC)
commit fcdb3da0e8de428720e47d36094b8c4b573ea694
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Mon Dec 6 18:44:11 2010 +0100
mahjongg: remove unneeded checks
mahjongg/mahjongg.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/mahjongg/mahjongg.c b/mahjongg/mahjongg.c
index 932b014..4b845f5 100644
--- a/mahjongg/mahjongg.c
+++ b/mahjongg/mahjongg.c
@@ -898,11 +898,7 @@ about_callback (void)
gchar *license = games_get_license (_("Mahjongg"));
gtk_show_about_dialog (GTK_WINDOW (window),
-#if GTK_CHECK_VERSION (2, 11, 0)
"program-name", _("Mahjongg"),
-#else
- "name", _("Mahjongg"),
-#endif
"version", VERSION,
"comments",
_("A matching game played with Mahjongg tiles.\n\nMahjongg is a part of GNOME Games."),
@@ -1353,10 +1349,7 @@ main (int argc, char *argv[])
#endif
context = g_option_context_new (NULL);
-#if GLIB_CHECK_VERSION (2, 12, 0)
g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
-#endif
-
g_option_context_add_group (context, gtk_get_option_group (TRUE));
retval = g_option_context_parse (context, &argc, &argv, &error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]