gnome-control-center r9107 - trunk/capplets/common
- From: ssp svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-control-center r9107 - trunk/capplets/common
- Date: Fri, 24 Oct 2008 22:39:00 +0000 (UTC)
Author: ssp
Date: Fri Oct 24 22:39:00 2008
New Revision: 9107
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9107&view=rev
Log:
Fri Oct 24 18:38:47 2008 SÃren Sandmann <sandmann redhat com>
* capplet-util.c (capplet_init): Only call
set_translation_domain() if the context is non-NULL
Modified:
trunk/capplets/common/ChangeLog
trunk/capplets/common/capplet-util.c
Modified: trunk/capplets/common/capplet-util.c
==============================================================================
--- trunk/capplets/common/capplet-util.c (original)
+++ trunk/capplets/common/capplet-util.c Fri Oct 24 22:39:00 2008
@@ -192,11 +192,10 @@
textdomain (GETTEXT_PACKAGE);
#endif
+ if (context) {
#if GLIB_CHECK_VERSION (2, 12, 0)
- g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
+ g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
#endif
-
- if (context) {
g_option_context_add_group (context, gtk_get_option_group (TRUE));
if (!g_option_context_parse (context, argc, argv, &err)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]