diff options
Diffstat (limited to 'capplets/windows')
-rw-r--r-- | capplets/windows/Makefile.am | 1 | ||||
-rw-r--r-- | capplets/windows/mate-window-properties.c | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/capplets/windows/Makefile.am b/capplets/windows/Makefile.am index cf1b9307..63f75fbb 100644 --- a/capplets/windows/Makefile.am +++ b/capplets/windows/Makefile.am @@ -18,7 +18,6 @@ desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) AM_CPPFLAGS = $(MATECC_CAPPLETS_CFLAGS) \ -DUIDIR=\""$(uidir)"\" \ - -DMATELOCALEDIR="\"$(datadir)/locale\"" \ -DPIXMAPDIR=\""$(pixmapdir)"\" CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) diff --git a/capplets/windows/mate-window-properties.c b/capplets/windows/mate-window-properties.c index ae059ae8..3d27b35e 100644 --- a/capplets/windows/mate-window-properties.c +++ b/capplets/windows/mate-window-properties.c @@ -329,11 +329,7 @@ main (int argc, char **argv) const char *current_wm; int i; - bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); - bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); - textdomain (GETTEXT_PACKAGE); - - gtk_init (&argc, &argv); + capplet_init (NULL, &argc, &argv); screen = gdk_display_get_default_screen (gdk_display_get_default ()); current_wm = gdk_x11_screen_get_window_manager_name (screen); |