diff options
author | Chris Toshok <toshok@ximian.com> | 2002-11-06 16:08:16 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-11-06 16:08:16 +0800 |
commit | 4e57b96f83fb8d0f79b10d1b219062973a095e56 (patch) | |
tree | 441afb3b747fc0b1afa99690b9d097af6e13c48c /addressbook/gui/component/select-names/e-select-names-table-model.c | |
parent | 1b1d829e5e32c744565679b9733f1aeaf07d96af (diff) | |
download | gsoc2013-evolution-4e57b96f83fb8d0f79b10d1b219062973a095e56.tar gsoc2013-evolution-4e57b96f83fb8d0f79b10d1b219062973a095e56.tar.gz gsoc2013-evolution-4e57b96f83fb8d0f79b10d1b219062973a095e56.tar.bz2 gsoc2013-evolution-4e57b96f83fb8d0f79b10d1b219062973a095e56.tar.lz gsoc2013-evolution-4e57b96f83fb8d0f79b10d1b219062973a095e56.tar.xz gsoc2013-evolution-4e57b96f83fb8d0f79b10d1b219062973a095e56.tar.zst gsoc2013-evolution-4e57b96f83fb8d0f79b10d1b219062973a095e56.zip |
Port to GObject/gnome2.
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-simple-card-bonobo.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-text-model.c: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-table-model.c: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-popup.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-model.c: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-manager.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-factory.c: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-completion.[ch]: Port
to GObject/gnome2.
* gui/component/select-names/e-select-names-bonobo.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/Makefile.am: typical port stuff. add
marshaller generation foo, dist it, and switch the .oaf to .server
* gui/component/select-names/.cvsignore: ignore the marshaller
stuff.
svn path=/trunk/; revision=18587
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-table-model.c')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-table-model.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-table-model.c b/addressbook/gui/component/select-names/e-select-names-table-model.c index a4faf69503..18a19bb171 100644 --- a/addressbook/gui/component/select-names/e-select-names-table-model.c +++ b/addressbook/gui/component/select-names/e-select-names-table-model.c @@ -40,9 +40,9 @@ e_select_names_table_model_add_source (ESelectNamesTableModel *model, { model->source = source; if (model->source) - gtk_object_ref(GTK_OBJECT(model->source)); - model->source_changed_id = gtk_signal_connect(GTK_OBJECT(model->source), "changed", - GTK_SIGNAL_FUNC(e_select_names_table_model_model_changed), + g_object_ref(model->source); + model->source_changed_id = g_signal_connect(GTK_OBJECT(model->source), "changed", + G_CALLBACK(e_select_names_table_model_model_changed), model); } @@ -52,7 +52,7 @@ e_select_names_table_model_drop_source (ESelectNamesTableModel *model) if (model->source_changed_id) gtk_signal_disconnect(GTK_OBJECT(model->source), model->source_changed_id); if (model->source) - gtk_object_unref(GTK_OBJECT(model->source)); + g_object_unref(model->source); model->source = NULL; model->source_changed_id = 0; } @@ -127,7 +127,7 @@ fill_in_info (ESelectNamesTableModel *model) model->data[i].email = e_card_simple_get(simple, E_CARD_SIMPLE_FIELD_EMAIL); if (model->data[i].email == 0) model->data[i].email = g_strdup(""); - gtk_object_unref(GTK_OBJECT(simple)); + g_object_unref(simple); } else { const gchar *name = e_destination_get_name (dest); const gchar *email = e_destination_get_email (dest); |