[bijiben] Help: fix duplicate func and failed yelp target uri
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] Help: fix duplicate func and failed yelp target uri
- Date: Fri, 7 Dec 2012 21:03:59 +0000 (UTC)
commit 14b489a772608ecb7c31007289ab3be7362e25f9
Author: Pierre-Yves Luyten <py luyten fr>
Date: Fri Dec 7 22:03:26 2012 +0100
Help: fix duplicate func and failed yelp target uri
src/bjb-app-menu.c | 15 +--------------
src/bjb-app-menu.h | 2 --
2 files changed, 1 insertions(+), 16 deletions(-)
---
diff --git a/src/bjb-app-menu.c b/src/bjb-app-menu.c
index 11628b3..5dd01e4 100644
--- a/src/bjb-app-menu.c
+++ b/src/bjb-app-menu.c
@@ -20,19 +20,6 @@ void show_about_dialog(GtkApplication *app)
}
-void
-summary()
-{
- GError *error = NULL;
- gtk_show_uri (NULL, "help:bijiben", gtk_get_current_event_time (), &error);
-
- if (error)
- {
- g_warning ("%s", error->message);
- g_error_free (error);
- }
-}
-
static void
new_activated (GSimpleAction *action,
GVariant *parameter,
@@ -120,7 +107,7 @@ help_activated (GSimpleAction *action,
gpointer user_data)
{
GError *error = NULL;
- gtk_show_uri (NULL, "ghelp:bijiben", gtk_get_current_event_time (), &error);
+ gtk_show_uri (NULL, "help:bijiben", gtk_get_current_event_time (), &error);
if (error)
{
diff --git a/src/bjb-app-menu.h b/src/bjb-app-menu.h
index 3181b49..d4b6090 100644
--- a/src/bjb-app-menu.h
+++ b/src/bjb-app-menu.h
@@ -5,8 +5,6 @@
void show_about_dialog(GtkApplication *app);
-void summary();
-
void bjb_app_menu_set(GApplication *application) ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]