diff options
Diffstat (limited to 'mate-about')
-rw-r--r-- | mate-about/mate-about.c | 5 | ||||
-rw-r--r-- | mate-about/mate-about.h.in | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mate-about/mate-about.c b/mate-about/mate-about.c index 1210571..e53ccab 100644 --- a/mate-about/mate-about.c +++ b/mate-about/mate-about.c @@ -57,7 +57,8 @@ void mate_about_run(void) * This generate a random message. * The comments index must not be more than comments_count - 1 */ - gtk_about_dialog_set_comments(mate_about_dialog, gettext(comments_array[g_random_int_range(0, comments_count - 1)])); + gtk_about_dialog_set_comments (mate_about_dialog, + _(comments_array[g_random_int_range (0, comments_count - 1)])); gtk_about_dialog_set_authors(mate_about_dialog, authors); gtk_about_dialog_set_artists(mate_about_dialog, artists); @@ -89,7 +90,7 @@ int main(int argc, char** argv) if (mate_about_nogui == TRUE) { - printf("%s %s\n", gettext(program_name), version); + g_print ("%s %s\n", _(program_name), version); } else { diff --git a/mate-about/mate-about.h.in b/mate-about/mate-about.h.in index ae3d2a8..c94df03 100644 --- a/mate-about/mate-about.h.in +++ b/mate-about/mate-about.h.in @@ -23,7 +23,6 @@ #include <config.h> // autogenerated by ./configure #include <gtk/gtk.h> -#include <libintl.h> // for gettext #include <glib/gi18n.h> const char* program_name = N_("MATE Desktop Environment"); |