summaryrefslogtreecommitdiff
path: root/mate-about/mate-about.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-12-24 15:51:16 +0300
committermonsta <[email protected]>2017-08-26 22:30:04 +0300
commit977ae7778f8ef610604f6ea4360f0041a62a26a8 (patch)
treebe73bc68f2cabce0c4a5dd6077c7db2da1200b8b /mate-about/mate-about.c
parent76ba14c7c1d10952b0bf7037badbefc93bb643e5 (diff)
downloadmate-desktop-977ae7778f8ef610604f6ea4360f0041a62a26a8.tar.bz2
mate-desktop-977ae7778f8ef610604f6ea4360f0041a62a26a8.tar.xz
mate-about: switch to GtkAboutDialog
Diffstat (limited to 'mate-about/mate-about.c')
-rw-r--r--mate-about/mate-about.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/mate-about/mate-about.c b/mate-about/mate-about.c
index 0dc8f59..37f5acc 100644
--- a/mate-about/mate-about.c
+++ b/mate-about/mate-about.c
@@ -48,33 +48,33 @@ static void mate_about_on_activate(GtkApplication* app)
void mate_about_run(void)
{
- mate_about_dialog = (MateAboutDialog*) mate_about_dialog_new();
+ mate_about_dialog = (GtkAboutDialog*) gtk_about_dialog_new();
gtk_window_set_default_icon_name(icon);
- mate_about_dialog_set_logo_icon_name(mate_about_dialog, icon);
+ gtk_about_dialog_set_logo_icon_name(mate_about_dialog, icon);
// name
- mate_about_dialog_set_program_name(mate_about_dialog, gettext(program_name));
+ gtk_about_dialog_set_program_name(mate_about_dialog, gettext(program_name));
// version
- mate_about_dialog_set_version(mate_about_dialog, version);
+ gtk_about_dialog_set_version(mate_about_dialog, version);
// credits and website
- mate_about_dialog_set_copyright(mate_about_dialog, copyright);
- mate_about_dialog_set_website(mate_about_dialog, website);
+ gtk_about_dialog_set_copyright(mate_about_dialog, copyright);
+ gtk_about_dialog_set_website(mate_about_dialog, website);
/**
* This generate a random message.
* The comments index must not be more than comments_count - 1
*/
- mate_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, gettext(comments_array[g_random_int_range(0, comments_count - 1)]));
- mate_about_dialog_set_authors(mate_about_dialog, authors);
- mate_about_dialog_set_artists(mate_about_dialog, artists);
- mate_about_dialog_set_documenters(mate_about_dialog, documenters);
+ gtk_about_dialog_set_authors(mate_about_dialog, authors);
+ gtk_about_dialog_set_artists(mate_about_dialog, artists);
+ gtk_about_dialog_set_documenters(mate_about_dialog, documenters);
/* Translators should localize the following string which will be
* displayed in the about box to give credit to the translator(s). */
- mate_about_dialog_set_translator_credits(mate_about_dialog, _("translator-credits"));
+ gtk_about_dialog_set_translator_credits(mate_about_dialog, _("translator-credits"));
gtk_window_set_application(GTK_WINDOW(mate_about_dialog), mate_about_application);