forked from old/legacy-imlib2
imlib2_view: Remove some pointless function calls
This commit is contained in:
parent
d5c23565bd
commit
d8e2f7a32d
|
@ -363,7 +363,6 @@ main(int argc, char **argv)
|
|||
imlib_context_set_colormap(DefaultColormap(disp, DefaultScreen(disp)));
|
||||
imlib_context_set_progress_function(progress);
|
||||
imlib_context_set_progress_granularity(opt_progress_granularity);
|
||||
imlib_context_set_drawable(win);
|
||||
|
||||
no = -1;
|
||||
for (im = NULL; !im;)
|
||||
|
@ -377,8 +376,6 @@ main(int argc, char **argv)
|
|||
im = load_image(no, argv[no]);
|
||||
}
|
||||
|
||||
imlib_context_set_image(im);
|
||||
|
||||
for (;;)
|
||||
{
|
||||
int x, y, b, count, fdsize, xfd, timeout = 0;
|
||||
|
|
Loading…
Reference in New Issue