update my contribution to the company
git-svn-id: http://tint2.googlecode.com/svn/trunk@585 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
@@ -177,7 +177,7 @@ int resize_launcher(void *obj)
|
||||
new_icon_path = icon_path(launcher, ICON_FALLBACK, launcherIcon->icon_size);
|
||||
if (new_icon_path) {
|
||||
launcherIcon->icon_original = imlib_load_image(new_icon_path);
|
||||
fprintf(stderr, "%s %d: Using icon %s\n", __FILE__, __LINE__, new_icon_path);
|
||||
fprintf(stderr, "launcher.c %d: Using icon %s\n", __LINE__, new_icon_path);
|
||||
free(new_icon_path);
|
||||
}
|
||||
launcherIcon->icon_scaled = scale_icon(launcherIcon->icon_original, icon_size);
|
||||
@@ -188,7 +188,7 @@ int resize_launcher(void *obj)
|
||||
free_icon(launcherIcon->icon_scaled);
|
||||
launcherIcon->icon_scaled = scale_icon(launcherIcon->icon_original, icon_size);
|
||||
free(new_icon_path);
|
||||
fprintf(stderr, "%s %d: Using icon %s\n", __FILE__, __LINE__, launcherIcon->icon_path);
|
||||
fprintf(stderr, "launcher.c %d: Using icon %s\n", __LINE__, launcherIcon->icon_path);
|
||||
} else {
|
||||
// Free the old files
|
||||
free_icon(launcherIcon->icon_original);
|
||||
@@ -198,7 +198,7 @@ int resize_launcher(void *obj)
|
||||
launcherIcon->icon_scaled = scale_icon(launcherIcon->icon_original, launcherIcon->icon_size);
|
||||
free(launcherIcon->icon_path);
|
||||
launcherIcon->icon_path = new_icon_path;
|
||||
fprintf(stderr, "%s %d: Using icon %s\n", __FILE__, __LINE__, launcherIcon->icon_path);
|
||||
fprintf(stderr, "launcher.c %d: Using icon %s\n", __LINE__, launcherIcon->icon_path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user