[gnome-commander] inline gnome_cmd_con_smb_new ()



commit 1763072590191513fa8f91cd9b05b57717573741
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Thu Apr 28 20:50:03 2011 +0200

    inline gnome_cmd_con_smb_new ()

 src/gnome-cmd-con-smb.cc |    6 ------
 src/gnome-cmd-con-smb.h  |    5 ++++-
 2 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/src/gnome-cmd-con-smb.cc b/src/gnome-cmd-con-smb.cc
index d1249b3..95ee2be 100644
--- a/src/gnome-cmd-con-smb.cc
+++ b/src/gnome-cmd-con-smb.cc
@@ -235,9 +235,3 @@ GtkType gnome_cmd_con_smb_get_type ()
     }
     return type;
 }
-
-
-GnomeCmdCon *gnome_cmd_con_smb_new ()
-{
-    return GNOME_CMD_CON (g_object_new (GNOME_CMD_TYPE_CON_SMB, NULL));
-}
diff --git a/src/gnome-cmd-con-smb.h b/src/gnome-cmd-con-smb.h
index aebaa77..b138b71 100644
--- a/src/gnome-cmd-con-smb.h
+++ b/src/gnome-cmd-con-smb.h
@@ -43,6 +43,9 @@ struct GnomeCmdConSmbClass
 
 GtkType gnome_cmd_con_smb_get_type ();
 
-GnomeCmdCon *gnome_cmd_con_smb_new ();
+inline GnomeCmdCon *gnome_cmd_con_smb_new ()
+{
+    return GNOME_CMD_CON (g_object_new (GNOME_CMD_TYPE_CON_SMB, NULL));
+}
 
 #endif // __GNOME_CMD_CON_SMB_H__



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