[gnome-photos/help] Update photos-application.c



commit e5a46356c988d6b126888fcd4c092a2a6a0e7ced
Author: Aruna Sankaranarayanan <arunasank src gnome org>
Date:   Sat Mar 22 02:12:24 2014 +0530

    Update photos-application.c
    
    Change Vala to C.

 src/photos-application.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index bf8babf..ee8de0d 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -135,7 +135,9 @@ photos_application_refresh_data_free (PhotosApplicationRefreshData *data)
 
 static void photos_application_help()
 {
-  Gtk.show_uri (screen, "help:gnome-photos", Gtk.get_current_event_time ());
+  parent = gtk_application_get_active_window (application);
+  gtk_show_uri (gtk_window_get_screen (parent), "help:gnome-photos",
+                                   GDK_CURRENT_TIME, &error);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]