diff options
author | Chris Toshok <toshok@ximian.com> | 2002-12-17 04:43:50 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-12-17 04:43:50 +0800 |
commit | ddc321dd764e5aece3e4fb7318c608e9eb3246e8 (patch) | |
tree | 7907ac74c1cb32859666fe13880e1fe0eb63d855 | |
parent | a4a43fe1fc888b7bdd4f665157f1d7911434b660 (diff) | |
download | gsoc2013-evolution-ddc321dd764e5aece3e4fb7318c608e9eb3246e8.tar.gz gsoc2013-evolution-ddc321dd764e5aece3e4fb7318c608e9eb3246e8.tar.zst gsoc2013-evolution-ddc321dd764e5aece3e4fb7318c608e9eb3246e8.zip |
remove obvious double g_strdup.
2002-12-16 Chris Toshok <toshok@ximian.com>
* e-table.c (et_real_construct): remove obvious double g_strdup.
* e-table-header-item.c (ethi_header_context_menu): ref/sink the
popup.
* e-table-field-chooser.c (e_table_field_chooser_init): use
gtk_widget_show_all so our custom widget gets displayed.
svn path=/trunk/; revision=19135
-rw-r--r-- | widgets/table/e-table-field-chooser.c | 2 | ||||
-rw-r--r-- | widgets/table/e-table-header-item.c | 2 | ||||
-rw-r--r-- | widgets/table/e-table.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-field-chooser.c b/widgets/table/e-table-field-chooser.c index 7020e22262..108b7f0ba1 100644 --- a/widgets/table/e-table-field-chooser.c +++ b/widgets/table/e-table-field-chooser.c @@ -179,7 +179,7 @@ e_table_field_chooser_init (ETableFieldChooser *etfc) etfc); gtk_widget_pop_colormap (); - gtk_widget_show(widget); + gtk_widget_show_all(widget); } static void diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index d3a95b1802..be1b231381 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -1506,6 +1506,8 @@ ethi_header_context_menu (ETableHeaderItem *ethi, GdkEventButton *event) ((e_table_header_count (ethi->eth) > 1) ? 0 : 8), ((e_table_sort_info_get_can_group (ethi->sort_info)) ? 0 : 16) + 128, info, E_I18N_DOMAIN); + g_object_ref (popup); + gtk_object_sink (GTK_OBJECT (popup)); g_signal_connect (popup, "selection-done", G_CALLBACK (free_popup_info), info); e_popup_menu (popup, (GdkEvent *) event); diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 76c66ed074..f0a9f5eb35 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -1444,8 +1444,6 @@ et_real_construct (ETable *e_table, ETableModel *etm, ETableExtras *ete, e_table->domain = g_strdup (specification->domain); - e_table->domain = g_strdup (specification->domain); - e_table->use_click_to_add = specification->click_to_add; e_table->use_click_to_add_end = specification->click_to_add_end; e_table->click_to_add_message = e_utf8_from_locale_string (dgettext (e_table->domain, specification->click_to_add_message)); |