[MPlayer-cvslog] r35797 - trunk/gui/dialog/dialog.c

ib subversion at mplayerhq.hu
Sun Jan 20 14:56:08 CET 2013


Author: ib
Date: Sun Jan 20 14:56:08 2013
New Revision: 35797

Log:
Cosmetic: Remove/adjust comments.

Modified:
   trunk/gui/dialog/dialog.c

Modified: trunk/gui/dialog/dialog.c
==============================================================================
--- trunk/gui/dialog/dialog.c	Sun Jan 20 01:11:55 2013	(r35796)
+++ trunk/gui/dialog/dialog.c	Sun Jan 20 14:56:08 2013	(r35797)
@@ -71,8 +71,6 @@ static const char gui_icon_name[] = "mpl
 #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 @@ static int gtkLoadIcon(GtkIconTheme *the
             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 @@ void gtkInit(char *display_name)
 
     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 @@ void gtkInit(char *display_name)
 #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();
 


More information about the MPlayer-cvslog mailing list