aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/table/ChangeLog7
-rw-r--r--widgets/table/e-table-header-item.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index b651b441bb..d15259e01d 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-07 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #463946
+
+ * e-table-header-item.c: (ethi_dispose), (ethi_popup_field_chooser):
+ Fixes compiler warnings and weak pointer references.
+
2007-07-27 Hiroyuki Ikezoe <poincare@ikezoe.net>
* e-cell-tree.c:
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index d6096e08c7..1d61ab45da 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -144,7 +144,7 @@ ethi_dispose (GObject *object){
if (ethi->etfcd)
- g_object_remove_weak_pointer (G_OBJECT (ethi->etfcd), (gpointer *)&ethi->etfcd);
+ g_object_remove_weak_pointer (G_OBJECT (ethi->etfcd), (gpointer *) (void *) &ethi->etfcd);
if (ethi->config)
@@ -1374,7 +1374,7 @@ ethi_popup_field_chooser(GtkWidget *widget, EthiHeaderInfo *info)
info->ethi->etfcd = e_table_field_chooser_dialog_new ();
etfcd = (gpointer)info->ethi->etfcd;
- g_object_add_weak_pointer (G_OBJECT (info->ethi->etfcd), &etfcd);
+ g_object_add_weak_pointer (G_OBJECT (etfcd), (gpointer*) (void *) &info->ethi->etfcd);
g_object_set (info->ethi->etfcd,
"full_header", info->ethi->full_header,