# HG changeset patch # User ib # Date 1358690168 0 # Node ID c0d48e21b9fce01fa11f4cba43dbeff549ef978e # Parent a1d362602a70b65e6f23d97251b7500c5e00cdce Cosmetic: Remove/adjust comments. diff -r a1d362602a70 -r c0d48e21b9fc gui/dialog/dialog.c --- 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();