diff options
author | Stefano Karapetsas <[email protected]> | 2014-04-23 22:29:16 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-04-23 22:29:16 +0200 |
commit | f936732298c7823e8f3c3b0544039a9b8ed2a6aa (patch) | |
tree | 7c248c279621ea9d3f88d86f51de192025b966d1 /libmate-desktop | |
parent | 3e894dbd0538d1433a0a3be22c7a0388ad9fb8d9 (diff) | |
download | mate-desktop-f936732298c7823e8f3c3b0544039a9b8ed2a6aa.tar.bz2 mate-desktop-f936732298c7823e8f3c3b0544039a9b8ed2a6aa.tar.xz |
libmate-desktop: Add i18n in MateAboutDialog
Diffstat (limited to 'libmate-desktop')
-rw-r--r-- | libmate-desktop/mate-aboutdialog.c | 4 | ||||
-rw-r--r-- | libmate-desktop/mate-aboutdialog.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/libmate-desktop/mate-aboutdialog.c b/libmate-desktop/mate-aboutdialog.c index 08bd2cb..a8960c3 100644 --- a/libmate-desktop/mate-aboutdialog.c +++ b/libmate-desktop/mate-aboutdialog.c @@ -27,7 +27,7 @@ */ #include "config.h" - +#include "private.h" #include "mate-aboutdialog.h" #include <string.h> @@ -467,6 +467,8 @@ mate_about_dialog_init (MateAboutDialog *about) MateAboutDialogPrivate *priv; GtkWidget *vbox, *hbox, *button, *close_button, *image; + _mate_desktop_init_i18n (); + /* Data */ priv = MATE_ABOUT_DIALOG_GET_PRIVATE (about); about->private_data = priv; diff --git a/libmate-desktop/mate-aboutdialog.h b/libmate-desktop/mate-aboutdialog.h index efc5bd1..d2e788d 100644 --- a/libmate-desktop/mate-aboutdialog.h +++ b/libmate-desktop/mate-aboutdialog.h @@ -42,6 +42,7 @@ G_BEGIN_DECLS typedef struct _MateAboutDialog MateAboutDialog; typedef struct _MateAboutDialogClass MateAboutDialogClass; +typedef struct _MateAboutDialogPrivate MateAboutDialogPrivate; /** * MateAboutDialog: @@ -54,7 +55,7 @@ struct _MateAboutDialog GtkDialog parent_instance; /*< private >*/ - GtkAboutDialogPrivate *private_data; + MateAboutDialogPrivate *private_data; }; struct _MateAboutDialogClass |