aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-header-item.c
diff options
context:
space:
mode:
authorDamien Carbery <damien.carbery@sun.com>2007-11-03 01:08:05 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-11-03 01:08:05 +0800
commitebf5dd871742c383a01331c4fdb64a1b5d51d33c (patch)
treea52cf4181769402b558fbf63f5243c40352604ac /widgets/table/e-table-header-item.c
parent040e3fbafe7fd505d9ca741629dcbab1393b4900 (diff)
downloadgsoc2013-evolution-ebf5dd871742c383a01331c4fdb64a1b5d51d33c.tar.gz
gsoc2013-evolution-ebf5dd871742c383a01331c4fdb64a1b5d51d33c.tar.zst
gsoc2013-evolution-ebf5dd871742c383a01331c4fdb64a1b5d51d33c.zip
** Fixes bug #492058
2007-11-02 Damien Carbery <damien.carbery@sun.com> ** Fixes bug #492058 * shell/e-shell-window.c: * shell/e-shell.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-item.c: * calendar/gui/e-itip-control.c: Name the anonymous unions to build with the Sun Studio compiler. svn path=/trunk/; revision=34485
Diffstat (limited to 'widgets/table/e-table-header-item.c')
-rw-r--r--widgets/table/e-table-header-item.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c
index 993be4c075..a477f127ae 100644
--- a/widgets/table/e-table-header-item.c
+++ b/widgets/table/e-table-header-item.c
@@ -142,8 +142,8 @@ ethi_dispose (GObject *object){
g_object_unref (ethi->full_header);
ethi->full_header = NULL;
- if (ethi->etfcd)
- g_object_remove_weak_pointer (G_OBJECT (ethi->etfcd), &ethi->etfcd_pointer);
+ if (ethi->etfcd.widget)
+ g_object_remove_weak_pointer (G_OBJECT (ethi->etfcd.widget), &ethi->etfcd.pointer);
if (ethi->config)
g_object_unref (ethi->config);
@@ -1359,7 +1359,7 @@ ethi_popup_remove_column(GtkWidget *widget, EthiHeaderInfo *info)
static void
ethi_popup_field_chooser(GtkWidget *widget, EthiHeaderInfo *info)
{
- GtkWidget *etfcd = info->ethi->etfcd;
+ GtkWidget *etfcd = info->ethi->etfcd.widget;
if (etfcd) {
gtk_window_present (GTK_WINDOW (etfcd));
@@ -1367,12 +1367,12 @@ ethi_popup_field_chooser(GtkWidget *widget, EthiHeaderInfo *info)
return;
}
- info->ethi->etfcd = e_table_field_chooser_dialog_new ();
- etfcd = info->ethi->etfcd;
+ info->ethi->etfcd.widget = e_table_field_chooser_dialog_new ();
+ etfcd = info->ethi->etfcd.widget;
- g_object_add_weak_pointer (G_OBJECT (etfcd), &info->ethi->etfcd_pointer);
+ g_object_add_weak_pointer (G_OBJECT (etfcd), &info->ethi->etfcd.pointer);
- g_object_set (info->ethi->etfcd,
+ g_object_set (info->ethi->etfcd.widget,
"full_header", info->ethi->full_header,
"header", info->ethi->eth,
"dnd_code", info->ethi->dnd_code,