summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
authorFred Morcos <fm+gnome@fredmorcos.com>2021-11-19 13:21:56 +0000
committerFred Morcos <fm+gnome@fredmorcos.com>2021-11-19 13:21:56 +0000
commitf019e9d8567313911da8a2e74dfe950a492c05b4 (patch)
tree9d5ac0db69456e251df78dc71f082e99e610e1f5 /gtk/gtkmain.c
parent48b83d3e97619d579649bbc74aacb898a39e34ee (diff)
downloadgtk+-f019e9d8567313911da8a2e74dfe950a492c05b4.tar.gz
Documentation fix and whitespace cleanup
- gtk_init() does not parse command-line options anymore. - Gitlab's WebIDE automatically cleans up whitespace.
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r--gtk/gtkmain.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index bb25aaca63..0ac2b08ee7 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -19,7 +19,7 @@
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
* file for a list of people on the GTK+ Team. See the ChangeLog
* files for a list of changes. These files are distributed with
- * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#include "config.h"
@@ -362,7 +362,7 @@ enum_locale_proc (LPTSTR locale)
return TRUE;
}
-
+
#endif
void
@@ -379,7 +379,7 @@ setlocale_initialization (void)
#ifdef G_OS_WIN32
/* If some of the POSIXish environment variables are set, set
* the Win32 thread locale correspondingly.
- */
+ */
char *p = getenv ("LC_ALL");
if (p == NULL)
p = getenv ("LANG");
@@ -622,7 +622,7 @@ gtk_init_check (void)
*
* Call this function before using any other GTK functions in your GUI
* applications. It will initialize everything needed to operate the
- * toolkit and parses some standard command line options.
+ * toolkit.
*
* If you are using `GtkApplication`, you don't have to call gtk_init()
* or gtk_init_check(); the `GApplication::startup` handler
@@ -847,7 +847,7 @@ gtk_main_sync (void)
ClipboardStore store = { NULL, };
GSList *displays, *l;
GCancellable *cancel;
-
+
/* Try storing all clipboard data we have */
displays = gdk_display_manager_list_displays (gdk_display_manager_get ());
if (displays == NULL)
@@ -875,12 +875,12 @@ gtk_main_sync (void)
if (g_main_loop_is_running (store.store_loop))
g_main_loop_run (store.store_loop);
-
+
g_cancellable_cancel (cancel);
g_object_unref (cancel);
g_clear_handle_id (&store.timeout_id, g_source_remove);
g_clear_pointer (&store.store_loop, g_main_loop_unref);
-
+
/* Synchronize the recent manager singleton */
_gtk_recent_manager_sync ();
}