[gnome-commander/ConvertWarningsToErrors] Makes function static to remove gcc missing-declarations warning



commit 657c8e7a7972c3851144e6155b63119f895e103b
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sat Apr 22 11:43:10 2017 +0200

    Makes function static to remove gcc missing-declarations warning

 src/gnome-cmd-app.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-app.cc b/src/gnome-cmd-app.cc
index 436b4a6..8ee53bb 100644
--- a/src/gnome-cmd-app.cc
+++ b/src/gnome-cmd-app.cc
@@ -70,7 +70,7 @@ GnomeCmdApp *gnome_cmd_app_new_with_values (const gchar *name,
 }
 
 
-char* panel_find_icon (GtkIconTheme *icon_theme, const char *icon_name, gint size)
+static char* panel_find_icon (GtkIconTheme *icon_theme, const char *icon_name, gint size)
 {
     char *retval  = NULL;
     GtkIconInfo *icon_info = NULL;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]