36 static QofLogModule log_module = GNC_MOD_GUI;
39 static void gnc_tree_model_constructed (GObject *
object);
40 static void gnc_tree_model_finalize (GObject *
object);
49 G_ADD_PRIVATE(GncTreeModel))
51 #define GNC_TREE_MODEL_GET_PRIVATE(o) \ 52 ((GncTreeModelPrivate*)gnc_tree_model_get_instance_private((GncTreeModel*)o)) 60 gnc_tree_model_class_init (GncTreeModelClass *klass)
62 GObjectClass *o_class;
64 o_class = G_OBJECT_CLASS (klass);
67 o_class->constructed = gnc_tree_model_constructed;
68 o_class->finalize = gnc_tree_model_finalize;
72 gnc_tree_model_init (GncTreeModel *model)
83 gnc_tree_model_constructed (GObject *obj)
85 ENTER(
"model %p", obj);
89 G_OBJECT_CLASS (gnc_tree_model_parent_class)->constructed (obj);
95 gnc_tree_model_finalize (GObject *
object)
97 ENTER(
"model %p",
object);
98 g_return_if_fail (
object != NULL);
99 g_return_if_fail (GNC_IS_TREE_MODEL (
object));
103 G_OBJECT_CLASS (gnc_tree_model_parent_class)->finalize (
object);
void gnc_gobject_tracking_forget(GObject *object)
Tell gnucash to remember this object in the database.
GtkTreeModel implementation for a generic gnucash tree.
#define ENTER(format, args...)
Print a function entry debugging message.
G_DEFINE_TYPE_WITH_CODE(GncMainWindow, gnc_main_window, GTK_TYPE_APPLICATION_WINDOW, G_IMPLEMENT_INTERFACE(GNC_TYPE_WINDOW, gnc_window_main_window_init)) static guint main_window_signals[LAST_SIGNAL]
A holding place for all the signals generated by the main window code.
void gnc_gobject_tracking_remember(GObject *object)
Tell gnucash to remember this object in the database.
The instance private data for a generic tree model.
All type declarations for the whole Gnucash engine.
#define LEAVE(format, args...)
Print a function exit debugging message.