From f936732298c7823e8f3c3b0544039a9b8ed2a6aa Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 23 Apr 2014 22:29:16 +0200 Subject: libmate-desktop: Add i18n in MateAboutDialog --- libmate-desktop/mate-aboutdialog.c | 4 +++- 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 @@ -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 -- cgit v1.2.1