changeset 35703:c0d48e21b9fc

Cosmetic: Remove/adjust comments.
author ib
date Sun, 20 Jan 2013 13:56:08 +0000
parents a1d362602a70
children ec0cc8013b3a
files gui/dialog/dialog.c
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/dialog.c	Sun Jan 20 00:11:55 2013 +0000
+++ b/gui/dialog/dialog.c	Sun Jan 20 13:56:08 2013 +0000
@@ -71,8 +71,6 @@
 #define THRESHOLD 128   // transparency values equal to or above this will become
                         // opaque, all values below this will become transparent
 
-/* init & close gtk */
-
 guiIcon_t guiIcon;
 
 /**
@@ -112,7 +110,7 @@
             data = gdk_pixbuf_get_pixels(pixbuf);
 
             for (i = csize; i < guiIcon.collection_size; data += 4, i++)
-                guiIcon.collection[i] = (uint32_t)(data[3] << 24) | AV_RB24(data);  // RGBA -> ARGB
+                guiIcon.collection[i] = (uint32_t)(data[3] << 24) | AV_RB24(data); // RGBA -> ARGB
         }
 
         g_object_unref(pixbuf);
@@ -142,8 +140,8 @@
 
     arg[argc++] = GMPlayer;
 
-    if (display_name) {            // MPlayer option '-display' was given
-        arg[argc++] = "--display"; // Pass corresponding command line arguments to GTK,
+    if (display_name) {             // MPlayer option '-display' was given
+        arg[argc++] = "--display";  // Pass corresponding command line arguments to GTK,
         arg[argc++] = display_name; // to open the requested display for the GUI, too.
     }
 
@@ -152,7 +150,7 @@
 #endif
 
     gtk_init(&argc, &argv);
-    wsSetErrorHandler();           // GDK has just set its own handler
+    wsSetErrorHandler();      // GDK has just set its own handler
 
     theme = gtk_icon_theme_get_default();