[gnome-commander] src/gnome-cmd-main-win.cc: fix for -Wmissing-declarations
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] src/gnome-cmd-main-win.cc: fix for -Wmissing-declarations
- Date: Fri, 28 Apr 2017 21:42:48 +0000 (UTC)
commit ada2d36581da0e0a0c0359bc4ca9272ff7a44e38
Author: Mamoru TASAKA <mtasaka fedoraproject org>
Date: Mon Apr 24 13:11:54 2017 +0900
src/gnome-cmd-main-win.cc: fix for -Wmissing-declarations
src/gnome-cmd-main-win.cc:131:6: error: no previous declaration for 'gint
gnome_cmd_key_snooper(GtkWidget*, GdkEventKey*, GnomeCmdMainWin*)' [-Werror=missing-declarations]
No prototype appears in headers, so make this static.
src/gnome-cmd-main-win.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-main-win.cc b/src/gnome-cmd-main-win.cc
index ecf06fb..9adecf4 100644
--- a/src/gnome-cmd-main-win.cc
+++ b/src/gnome-cmd-main-win.cc
@@ -128,7 +128,7 @@ static GtkTooltips *toolbar_tooltips = NULL;
static void gnome_cmd_main_win_real_switch_fs (GnomeCmdMainWin *mw, GnomeCmdFileSelector *fs);
-gint gnome_cmd_key_snooper(GtkWidget *grab_widget, GdkEventKey *event, GnomeCmdMainWin *mw)
+static gint gnome_cmd_key_snooper(GtkWidget *grab_widget, GdkEventKey *event, GnomeCmdMainWin *mw)
{
g_return_val_if_fail (mw!=NULL, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]