summaryrefslogtreecommitdiff
path: root/mate-about/mate-about.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-20 22:09:31 +0300
committermonsta <[email protected]>2016-11-20 22:09:31 +0300
commit8a02c826552076be5f85bc9412252d096d4f01bb (patch)
tree0b109f4bbbb4d59494f55d8a700ae0bc2caeca08 /mate-about/mate-about.c
parent06cb0eac6e40a12855a707d100eacfede1c839c2 (diff)
downloadmate-desktop-8a02c826552076be5f85bc9412252d096d4f01bb.tar.bz2
mate-desktop-8a02c826552076be5f85bc9412252d096d4f01bb.tar.xz
fix indent a bit
Diffstat (limited to 'mate-about/mate-about.c')
-rw-r--r--mate-about/mate-about.c32
1 files changed, 14 insertions, 18 deletions
diff --git a/mate-about/mate-about.c b/mate-about/mate-about.c
index 50506e5..224f341 100644
--- a/mate-about/mate-about.c
+++ b/mate-about/mate-about.c
@@ -95,9 +95,9 @@ void mate_about_run(void)
* displayed in the about box to give credit to the translator(s). */
mate_about_dialog_set_translator_credits(mate_about_dialog, _("translator-credits"));
- #if GTK_CHECK_VERSION(3, 0, 0)
- gtk_window_set_application(GTK_WINDOW(mate_about_dialog), mate_about_application);
- #endif
+#if GTK_CHECK_VERSION(3, 0, 0)
+ gtk_window_set_application(GTK_WINDOW(mate_about_dialog), mate_about_application);
+#endif
// start and destroy
gtk_dialog_run((GtkDialog*) mate_about_dialog);
@@ -128,25 +128,21 @@ int main(int argc, char** argv)
{
gtk_init(&argc, &argv);
- #if GTK_CHECK_VERSION(3, 0, 0)
-
- mate_about_application = gtk_application_new("org.mate.about", 0);
- g_signal_connect(mate_about_application, "activate", G_CALLBACK(mate_about_on_activate), NULL);
-
- status = g_application_run(G_APPLICATION(mate_about_application), argc, argv);
-
- g_object_unref(mate_about_application);
-
- #else
+#if GTK_CHECK_VERSION(3, 0, 0)
+ mate_about_application = gtk_application_new("org.mate.about", 0);
+ g_signal_connect(mate_about_application, "activate", G_CALLBACK(mate_about_on_activate), NULL);
- mate_about_application = g_application_new("org.mate.about", G_APPLICATION_FLAGS_NONE);
- g_signal_connect(mate_about_application, "activate", G_CALLBACK(mate_about_on_activate), NULL);
+ status = g_application_run(G_APPLICATION(mate_about_application), argc, argv);
- status = g_application_run(G_APPLICATION(mate_about_application), argc, argv);
+ g_object_unref(mate_about_application);
+#else
+ mate_about_application = g_application_new("org.mate.about", G_APPLICATION_FLAGS_NONE);
+ g_signal_connect(mate_about_application, "activate", G_CALLBACK(mate_about_on_activate), NULL);
- g_object_unref(mate_about_application);
+ status = g_application_run(G_APPLICATION(mate_about_application), argc, argv);
- #endif
+ g_object_unref(mate_about_application);
+#endif
}
return status;