Skip to content

Commit

Permalink
Cosmetic: Remove/adjust comments.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35797 b3059339-0415-0410-9bf9-f77b7e298cf2
  • Loading branch information
ib committed Jan 20, 2013
1 parent 446244c commit 8736825
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions gui/dialog/dialog.c
Expand Up @@ -71,8 +71,6 @@ static const char gui_icon_name[] = "mplayer";
#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;

/**
Expand Down Expand Up @@ -112,7 +110,7 @@ static int gtkLoadIcon(GtkIconTheme *theme, gint size, GdkPixmap **gdkIcon, GdkB
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);
Expand Down Expand Up @@ -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.
}

Expand All @@ -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();

Expand Down

0 comments on commit 8736825

Please sign in to comment.