windows: fix compile errors. #974

This commit is contained in:
Hylke Bons 2012-09-20 10:44:27 +01:00
parent 8b24b88d60
commit cf5bdf8ac8

View file

@ -34,7 +34,7 @@ namespace SparkleShare {
Height = size;
int current_frame = 0;
BitmapSource spinner_gallery = SparkleUIHelpers.Getframesource ("process-working-22");
BitmapSource spinner_gallery = SparkleUIHelpers.GetImageSource ("process-working-22");
int frames_in_width = spinner_gallery.PixelWidth / size;
int frames_in_height = spinner_gallery.PixelHeight / size;
int frame_count = (frames_in_width * frames_in_height) - 1;
@ -65,7 +65,7 @@ namespace SparkleShare {
else
current_frame = 0;
Source = this.frames [current_frame].Source;
Source = frames [current_frame].Source;
});
};
}