[gnome-commander] GnomeCmdConList: inline gnome_cmd_con_list_new() function
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] GnomeCmdConList: inline gnome_cmd_con_list_new() function
- Date: Mon, 5 Sep 2011 18:16:56 +0000 (UTC)
commit c98f20fe1c415bd6d1f01a4084b42424db961dcf
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Mon Sep 5 20:14:41 2011 +0200
GnomeCmdConList: inline gnome_cmd_con_list_new() function
src/gnome-cmd-con-list.cc | 6 ------
src/gnome-cmd-con-list.h | 5 ++++-
2 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/src/gnome-cmd-con-list.cc b/src/gnome-cmd-con-list.cc
index 0149f55..d5f5034 100755
--- a/src/gnome-cmd-con-list.cc
+++ b/src/gnome-cmd-con-list.cc
@@ -184,12 +184,6 @@ GtkType gnome_cmd_con_list_get_type ()
}
-GnomeCmdConList *gnome_cmd_con_list_new ()
-{
- return (GnomeCmdConList *) g_object_new (GNOME_CMD_TYPE_CON_LIST, NULL);
-}
-
-
void gnome_cmd_con_list_begin_update (GnomeCmdConList *con_list)
{
g_return_if_fail (GNOME_CMD_IS_CON_LIST (con_list));
diff --git a/src/gnome-cmd-con-list.h b/src/gnome-cmd-con-list.h
old mode 100644
new mode 100755
index 2964bcc..65cf8ba
--- a/src/gnome-cmd-con-list.h
+++ b/src/gnome-cmd-con-list.h
@@ -59,7 +59,10 @@ struct GnomeCmdConListClass
GtkType gnome_cmd_con_list_get_type ();
-GnomeCmdConList *gnome_cmd_con_list_new ();
+inline GnomeCmdConList *gnome_cmd_con_list_new ()
+{
+ return (GnomeCmdConList *) g_object_new (GNOME_CMD_TYPE_CON_LIST, NULL);
+}
inline GnomeCmdConList *gnome_cmd_con_list_get ()
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]