diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-11 20:05:14 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-11 21:03:45 +0800 |
commit | 4c13763c5eab1013f6abab234f77fa06e4502652 (patch) | |
tree | ce46ba39f33e8b81447c084164de83b90b042aa7 /widgets/table/e-cell.h | |
parent | bc9ece413fce4941a74a13619815a0869c1d2e99 (diff) | |
download | gsoc2013-evolution-4c13763c5eab1013f6abab234f77fa06e4502652.tar.gz gsoc2013-evolution-4c13763c5eab1013f6abab234f77fa06e4502652.tar.zst gsoc2013-evolution-4c13763c5eab1013f6abab234f77fa06e4502652.zip |
Convert ECell from a GtkObject to a GObject.
To eliminate the floating-reference-on-finalize run-time warnings.
Diffstat (limited to 'widgets/table/e-cell.h')
-rw-r--r-- | widgets/table/e-cell.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-cell.h b/widgets/table/e-cell.h index 63fa8e2afd..f38e47bfc4 100644 --- a/widgets/table/e-cell.h +++ b/widgets/table/e-cell.h @@ -66,7 +66,7 @@ typedef enum { } ECellActions; typedef struct { - GtkObject object; + GObject parent; } ECell; typedef struct _ECellView { @@ -84,7 +84,7 @@ typedef struct _ECellView { #define E_CELL_IS_FOCUSED(ecell_view) (ecell_view->focus_x1 != -1) typedef struct { - GtkObjectClass parent_class; + GObjectClass parent_class; ECellView *(*new_view) (ECell *ecell, ETableModel *table_model, gpointer e_table_item_view); void (*kill_view) (ECellView *ecell_view); |