aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-08-07 14:17:33 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-08-07 14:17:33 +0800
commit30836f283690ba0217f30618bef02b802f221ae6 (patch)
tree2f57dfdf108ab203f63f2d6a5744b901147a035a /widgets/table
parenta64c26f11a71f40f6d822eff1883e4bc07d2976f (diff)
downloadgsoc2013-evolution-30836f283690ba0217f30618bef02b802f221ae6.tar
gsoc2013-evolution-30836f283690ba0217f30618bef02b802f221ae6.tar.gz
gsoc2013-evolution-30836f283690ba0217f30618bef02b802f221ae6.tar.bz2
gsoc2013-evolution-30836f283690ba0217f30618bef02b802f221ae6.tar.lz
gsoc2013-evolution-30836f283690ba0217f30618bef02b802f221ae6.tar.xz
gsoc2013-evolution-30836f283690ba0217f30618bef02b802f221ae6.tar.zst
gsoc2013-evolution-30836f283690ba0217f30618bef02b802f221ae6.zip
2007-08-07 mcrha Fix for bug #463946
svn path=/trunk/; revision=33962
Diffstat (limited to 'widgets/table')
-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,