Mercurial > mplayer.hg
diff gui/dialog/dialog.c @ 36049:31f6a88593b3
Cosmetic: Rename static variables.
Use a prefix that differs from prefixes used for global definitions
and that has a relation to the source it's used in.
author | ib |
---|---|
date | Thu, 04 Apr 2013 09:39:03 +0000 |
parents | e3e9b31b1088 |
children | 1562f350e8d2 |
line wrap: on
line diff
--- a/gui/dialog/dialog.c Wed Apr 03 16:43:24 2013 +0000 +++ b/gui/dialog/dialog.c Thu Apr 04 09:39:03 2013 +0000 @@ -48,7 +48,7 @@ guiIcon_t guiIcon; -static const char gui_icon_name[] = "mplayer"; +static const char guiIconName[] = "mplayer"; static GtkWidget *PopUpMenu; @@ -70,7 +70,7 @@ guchar *data; int csize, i; - pixbuf = gtk_icon_theme_load_icon(theme, gui_icon_name, size, 0, NULL); + pixbuf = gtk_icon_theme_load_icon(theme, guiIconName, size, 0, NULL); if (pixbuf) gdk_pixbuf_render_pixmap_and_mask_for_colormap(pixbuf, gdk_colormap_get_system(), gdkIcon, gdkIconMask, THRESHOLD); @@ -96,7 +96,7 @@ g_object_unref(pixbuf); } else - mp_msg(MSGT_GPLAYER, MSGL_WARN, MSGTR_ICONERROR, gui_icon_name, size); + mp_msg(MSGT_GPLAYER, MSGL_WARN, MSGTR_ICONERROR, guiIconName, size); /* start up GTK which realizes the pixmaps */ gtk_main_iteration_do(FALSE);