summaryrefslogtreecommitdiff
path: root/capplets/accessibility/at-properties/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/accessibility/at-properties/main.c')
-rw-r--r--capplets/accessibility/at-properties/main.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/capplets/accessibility/at-properties/main.c b/capplets/accessibility/at-properties/main.c
index 67d3f6d7e..feaa84910 100644
--- a/capplets/accessibility/at-properties/main.c
+++ b/capplets/accessibility/at-properties/main.c
@@ -201,17 +201,9 @@ setup_dialog (GladeXML *dialog)
int
main (int argc, char *argv[])
{
- GnomeProgram *program;
GladeXML *dialog;
- bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
- textdomain (GETTEXT_PACKAGE);
-
- program = gnome_program_init ("gnome-at-properties", VERSION,
- LIBGNOMEUI_MODULE, argc, argv,
- GNOME_PARAM_APP_DATADIR, GNOMECC_DATA_DIR,
- NULL);
+ capplet_init (NULL, &argc, &argv);
activate_settings_daemon ();
@@ -226,7 +218,5 @@ main (int argc, char *argv[])
g_object_unref (dialog);
}
- g_object_unref (program);
-
return 0;
}