linux: Fix compile error

This commit is contained in:
Hylke Bons 2012-08-07 14:17:21 +02:00
parent 5cd3a17779
commit 5ba0092947
2 changed files with 6 additions and 4 deletions

View file

@ -276,11 +276,13 @@ namespace SparkleShare {
"file://" + IO.Path.Combine (icons_path, "document-moved.png"));
Application.Invoke (() => {
Application.Invoke (delegate {
this.spinner.Stop ();
this.web_view.NavigationRequested -= WebViewNavigationRequested;
this.web_view.NavigationRequested -= WebViewNavigationRequested;
this.web_view.LoadHtmlString (html, "file://");
this.web_view.NavigationRequested += WebViewNavigationRequested;
this.web_view.NavigationRequested += WebViewNavigationRequested;
this.content_wrapper.Remove (this.content_wrapper.Child);
this.content_wrapper.Add (this.scrolled_window);
this.content_wrapper.ShowAll ();

View file

@ -45,7 +45,7 @@ namespace SparkleShare {
public static Image GetImage (string name)
{
string image_path = SparkleHelpers.CombineMore (Defines.INSTALL_DIR, "pixmaps", name);
string image_path = new string [] { Defines.INSTALL_DIR, "pixmaps", name };
return new Image (image_path);
}