Use capplet_init()
Fri Oct 24 18:28:54 2008 Søren Sandmann <sandmann@redhat.com> * sound-properties-capplet.c (main): Use capplet_init() Fri Oct 24 18:29:14 2008 Søren Sandmann <sandmann@redhat.com> * capplet-util.c: Call g_option_context_set_translation_domain on the context. svn path=/trunk/; revision=9106
This commit is contained in:
parent
2f8de6c511
commit
06a74d0ef1
5 changed files with 18 additions and 23 deletions
|
@ -192,6 +192,10 @@ capplet_init (GOptionContext *context,
|
|||
textdomain (GETTEXT_PACKAGE);
|
||||
#endif
|
||||
|
||||
#if GLIB_CHECK_VERSION (2, 12, 0)
|
||||
g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
|
||||
#endif
|
||||
|
||||
if (context) {
|
||||
g_option_context_add_group (context, gtk_get_option_group (TRUE));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue