[gnome-commander/ConvertWarningsToErrors] src/gnome-cmd-file-selector.cc: fix for -Wmissing-declarations
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/ConvertWarningsToErrors] src/gnome-cmd-file-selector.cc: fix for -Wmissing-declarations
- Date: Sun, 23 Apr 2017 10:58:13 +0000 (UTC)
commit 8dcc9d37ead08ff66ff0c16bc4d165ee3266e513
Author: Mamoru TASAKA <mtasaka fedoraproject org>
Date: Sun Apr 23 15:37:14 2017 +0900
src/gnome-cmd-file-selector.cc: fix for -Wmissing-declarations
src/gnome-cmd-file-selector.cc:1437:10: error: no previous declaration for 'gboolean
on_filter_box_keypressed(GtkEntry*, GdkEventKey*, GnomeCmdFileSelector*)' [-Werror=missing-declarations]
gboolean on_filter_box_keypressed (GtkEntry *entry, GdkEventKey *event, GnomeCmdFileSelector *fs)
- No function declaration appears on headers.
src/gnome-cmd-file-selector.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-file-selector.cc b/src/gnome-cmd-file-selector.cc
index 90cdf03..02c5261 100644
--- a/src/gnome-cmd-file-selector.cc
+++ b/src/gnome-cmd-file-selector.cc
@@ -1434,7 +1434,7 @@ static void on_filter_box_close (GtkButton *btn, GnomeCmdFileSelector *fs)
}
-gboolean on_filter_box_keypressed (GtkEntry *entry, GdkEventKey *event, GnomeCmdFileSelector *fs)
+static gboolean on_filter_box_keypressed (GtkEntry *entry, GdkEventKey *event, GnomeCmdFileSelector *fs)
{
if (state_is_blank (event->state))
if (event->keyval == GDK_Escape)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]