[gnome-commander/get_rid_of_xml] noop: Make compiler happy (fixing inline error)



commit 93a47c1cc9e9b0af88fe0242f9bbf3961c0a6591
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Wed Sep 26 09:31:17 2018 +0200

    noop: Make compiler happy (fixing inline error)

 src/gnome-cmd-dir.cc | 6 ++++++
 src/gnome-cmd-dir.h  | 6 +-----
 2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/src/gnome-cmd-dir.cc b/src/gnome-cmd-dir.cc
index a9f77bed..39962b68 100644
--- a/src/gnome-cmd-dir.cc
+++ b/src/gnome-cmd-dir.cc
@@ -381,6 +381,12 @@ Handle *gnome_cmd_dir_get_handle (GnomeCmdDir *dir)
 }
 
 
+void gnome_cmd_dir_unref (GnomeCmdDir *dir)
+{
+    g_return_if_fail (GNOME_CMD_IS_DIR (dir));
+    GNOME_CMD_FILE (dir)->unref();
+}
+
 GList *gnome_cmd_dir_get_files (GnomeCmdDir *dir)
 {
     g_return_val_if_fail (GNOME_CMD_IS_DIR (dir), NULL);
diff --git a/src/gnome-cmd-dir.h b/src/gnome-cmd-dir.h
index 4c85ce50..e431c2cf 100644
--- a/src/gnome-cmd-dir.h
+++ b/src/gnome-cmd-dir.h
@@ -117,11 +117,7 @@ inline GnomeCmdDir *gnome_cmd_dir_ref (GnomeCmdDir *dir)
     return dir;
 }
 
-inline void gnome_cmd_dir_unref (GnomeCmdDir *dir)
-{
-    g_return_if_fail (GNOME_CMD_IS_DIR (dir));
-    GNOME_CMD_FILE (dir)->unref();
-}
+void gnome_cmd_dir_unref (GnomeCmdDir *dir);
 
 GList *gnome_cmd_dir_get_files (GnomeCmdDir *dir);
 void gnome_cmd_dir_relist_files (GnomeCmdDir *dir, gboolean visprog);


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