comparison src/audacious/widgets/skin.c @ 2654:6364a4534889 trunk

[svn] - fixed c++ish declaration in a c file
author giacomo
date Sat, 07 Apr 2007 04:36:14 -0700
parents 2ef492ad3904
children 15f6c9949cde
comparison
equal deleted inserted replaced
2653:b5a612371920 2654:6364a4534889
1390 static void 1390 static void
1391 skin_load_pixmaps(Skin * skin, const gchar * path) 1391 skin_load_pixmaps(Skin * skin, const gchar * path)
1392 { 1392 {
1393 GdkPixmap *text_pm; 1393 GdkPixmap *text_pm;
1394 guint i; 1394 guint i;
1395 gchar *filename;
1396 INIFile *inifile;
1395 1397
1396 for (i = 0; i < SKIN_PIXMAP_COUNT; i++) 1398 for (i = 0; i < SKIN_PIXMAP_COUNT; i++)
1397 skin_load_pixmap_id(skin, i, path); 1399 skin_load_pixmap_id(skin, i, path);
1398 1400
1399 text_pm = skin->pixmaps[SKIN_TEXT].pixmap; 1401 text_pm = skin->pixmaps[SKIN_TEXT].pixmap;
1404 #if 0 1406 #if 0
1405 if (skin->pixmaps[SKIN_NUMBERS].pixmap) 1407 if (skin->pixmaps[SKIN_NUMBERS].pixmap)
1406 skin_numbers_generate_dash(skin); 1408 skin_numbers_generate_dash(skin);
1407 #endif 1409 #endif
1408 1410
1409 gchar *filename = find_file_recursively(path, "pledit.txt"); 1411 filename = find_file_recursively(path, "pledit.txt");
1410 INIFile *inifile = open_ini_file(filename); 1412 inifile = open_ini_file(filename);
1411 1413
1412 skin->colors[SKIN_PLEDIT_NORMAL] = 1414 skin->colors[SKIN_PLEDIT_NORMAL] =
1413 skin_load_color(inifile, "Text", "Normal", "#2499ff"); 1415 skin_load_color(inifile, "Text", "Normal", "#2499ff");
1414 skin->colors[SKIN_PLEDIT_CURRENT] = 1416 skin->colors[SKIN_PLEDIT_CURRENT] =
1415 skin_load_color(inifile, "Text", "Current", "#ffeeff"); 1417 skin_load_color(inifile, "Text", "Current", "#ffeeff");