[gedit] Remove GtkAction ruins
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Remove GtkAction ruins
- Date: Sun, 11 Oct 2015 14:16:17 +0000 (UTC)
commit 8099f2e822ad0422fbc619038bd7be957782ac4f
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Oct 11 16:12:43 2015 +0200
Remove GtkAction ruins
gedit/gedit-app.c | 4 ++--
gedit/gedit-commands-help.c | 6 ++----
gedit/gedit-commands-private.h | 6 ++----
3 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/gedit/gedit-app.c b/gedit/gedit-app.c
index 39698a1..6f4298c 100644
--- a/gedit/gedit-app.c
+++ b/gedit/gedit-app.c
@@ -570,7 +570,7 @@ help_activated (GSimpleAction *action,
app = GTK_APPLICATION (user_data);
window = GEDIT_WINDOW (gtk_application_get_active_window (app));
- _gedit_cmd_help_contents (NULL, window);
+ _gedit_cmd_help_contents (window);
}
static void
@@ -584,7 +584,7 @@ about_activated (GSimpleAction *action,
app = GTK_APPLICATION (user_data);
window = GEDIT_WINDOW (gtk_application_get_active_window (app));
- _gedit_cmd_help_about (NULL, window);
+ _gedit_cmd_help_about (window);
}
static void
diff --git a/gedit/gedit-commands-help.c b/gedit/gedit-commands-help.c
index 8dd6613..2161fba 100644
--- a/gedit/gedit-commands-help.c
+++ b/gedit/gedit-commands-help.c
@@ -35,8 +35,7 @@
#include "gedit-dirs.h"
void
-_gedit_cmd_help_contents (GtkAction *action,
- GeditWindow *window)
+_gedit_cmd_help_contents (GeditWindow *window)
{
gedit_debug (DEBUG_COMMANDS);
@@ -47,8 +46,7 @@ _gedit_cmd_help_contents (GtkAction *action,
}
void
-_gedit_cmd_help_about (GtkAction *action,
- GeditWindow *window)
+_gedit_cmd_help_about (GeditWindow *window)
{
static const gchar * const authors[] = {
"Alex Roberts",
diff --git a/gedit/gedit-commands-private.h b/gedit/gedit-commands-private.h
index c8c1d32..c60f565 100644
--- a/gedit/gedit-commands-private.h
+++ b/gedit/gedit-commands-private.h
@@ -156,10 +156,8 @@ void _gedit_cmd_documents_next_tab_group (GSimpleAction *action,
GVariant *parameter,
gpointer user_data);
-void _gedit_cmd_help_contents (GtkAction *action,
- GeditWindow *window);
-void _gedit_cmd_help_about (GtkAction *action,
- GeditWindow *window);
+void _gedit_cmd_help_contents (GeditWindow *window);
+void _gedit_cmd_help_about (GeditWindow *window);
void _gedit_cmd_file_close_tab (GeditTab *tab,
GeditWindow *window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]