[gnome-photos/help] Update photos-application.c
- From: Aruna Sankaranarayanan <arunasank src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/help] Update photos-application.c
- Date: Fri, 21 Mar 2014 20:21:24 +0000 (UTC)
commit ad7eceb6f751ad44fa7ac8ee0be9b1325f9dd0c5
Author: Aruna Sankaranarayanan <arunasank src gnome org>
Date: Sat Mar 22 01:50:53 2014 +0530
Update photos-application.c
Remove the var, and teh try catch statements.
src/photos-application.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index bcc58cd..863fdd3 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -135,16 +135,9 @@ photos_application_refresh_data_free (PhotosApplicationRefreshData *data)
static void photos_application_help()
{
- var screen = main_window.get_screen ();
- try
- {
- Gtk.show_uri (screen, "help:photos", Gtk.get_current_event_time ());
- }
- catch (Error err)
- {
- message ("Error opening help: %s", err.message);
- }
+ Gtk.show_uri (screen, "help:photos", Gtk.get_current_event_time ());
}
+
static void
photos_application_about (PhotosApplication *self, GVariant *parameter)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]