[gtkglext] Remove trailing whitespace
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkglext] Remove trailing whitespace
- Date: Wed, 21 Jul 2010 14:41:49 +0000 (UTC)
commit 3fbe96743e0a33fb9648665a0d10115be284be4e
Author: Mukund Sivaraman <muks banu com>
Date: Wed Jul 21 20:06:47 2010 +0530
Remove trailing whitespace
gtk/gtkglinit.c | 44 ++++++++++++++++++++++----------------------
1 files changed, 22 insertions(+), 22 deletions(-)
---
diff --git a/gtk/gtkglinit.c b/gtk/gtkglinit.c
index 99bbcaa..3cffbca 100644
--- a/gtk/gtkglinit.c
+++ b/gtk/gtkglinit.c
@@ -45,7 +45,7 @@ static const guint gtk_gl_ndebug_keys = G_N_ELEMENTS (gtk_gl_debug_keys);
* gtk_gl_parse_args:
* @argc: the number of command line arguments.
* @argv: the array of command line arguments.
- *
+ *
* Parses command line arguments, and initializes global
* attributes of GtkGLExt.
*
@@ -93,7 +93,7 @@ gtk_gl_parse_args (int *argc,
if (argc && argv)
{
gint i, j, k;
-
+
for (i = 1; i < *argc;)
{
if (strcmp ("--gtk-gl-install-colormap", (*argv)[i]) == 0)
@@ -106,7 +106,7 @@ gtk_gl_parse_args (int *argc,
(strncmp ("--gtk-gl-debug=", (*argv)[i], 15) == 0))
{
gchar *equal_pos = strchr ((*argv)[i], '=');
-
+
if (equal_pos != NULL)
{
gtk_gl_debug_flags |= g_parse_debug_string (equal_pos+1,
@@ -127,7 +127,7 @@ gtk_gl_parse_args (int *argc,
(strncmp ("--gtk-gl-no-debug=", (*argv)[i], 18) == 0))
{
gchar *equal_pos = strchr ((*argv)[i], '=');
-
+
if (equal_pos != NULL)
{
gtk_gl_debug_flags &= ~g_parse_debug_string (equal_pos+1,
@@ -147,13 +147,13 @@ gtk_gl_parse_args (int *argc,
#endif /* G_ENABLE_DEBUG */
i += 1;
}
-
+
for (i = 1; i < *argc; i++)
{
for (k = i; k < *argc; k++)
if ((*argv)[k] != NULL)
break;
-
+
if (k > i)
{
k -= i;
@@ -173,21 +173,21 @@ gtk_gl_parse_args (int *argc,
/**
* gtk_gl_init_check:
- * @argc: Address of the <parameter>argc</parameter> parameter of your
+ * @argc: Address of the <parameter>argc</parameter> parameter of your
* <function>main()</function> function. Changed if any arguments
* were handled.
- * @argv: Address of the <parameter>argv</parameter> parameter of
+ * @argv: Address of the <parameter>argv</parameter> parameter of
* <function>main()</function>. Any parameters understood by
* gtk_gl_init() are stripped before return.
- *
- * This function does the same work as gtk_gl_init() with only
- * a single change: It does not terminate the program if the library can't be
+ *
+ * This function does the same work as gtk_gl_init() with only
+ * a single change: It does not terminate the program if the library can't be
* initialized. Instead it returns %FALSE on failure.
*
- * This way the application can fall back to some other means of communication
+ * This way the application can fall back to some other means of communication
* with the user - for example a curses or command line interface.
- *
- * Return value: %TRUE if the GUI has been successfully initialized,
+ *
+ * Return value: %TRUE if the GUI has been successfully initialized,
* %FALSE otherwise.
**/
gboolean
@@ -210,22 +210,22 @@ gtk_gl_init_check (int *argc,
/**
* gtk_gl_init:
- * @argc: Address of the <parameter>argc</parameter> parameter of your
+ * @argc: Address of the <parameter>argc</parameter> parameter of your
* <function>main()</function> function. Changed if any arguments
* were handled.
- * @argv: Address of the <parameter>argv</parameter> parameter of
+ * @argv: Address of the <parameter>argv</parameter> parameter of
* <function>main()</function>. Any parameters understood by
* gtk_gl_init() are stripped before return.
- *
- * Call this function before using any other GtkGLExt functions in your
+ *
+ * Call this function before using any other GtkGLExt functions in your
* applications. It will initialize everything needed to operate the library
- * and parses some standard command line options. @argc and
- * @argv are adjusted accordingly so your own code will
+ * and parses some standard command line options. @argc and
+ * @argv are adjusted accordingly so your own code will
* never see those standard arguments.
*
* <note><para>
- * This function will terminate your program if it was unable to initialize
- * the library for some reason. If you want your program to fall back to a
+ * This function will terminate your program if it was unable to initialize
+ * the library for some reason. If you want your program to fall back to a
* textual interface you want to call gtk_gl_init_check() instead.
* </para></note>
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]