2002-11-15 Not Zed <NotZed@Ximian.com>
* mail-summary.c (create_summary_view): weak notify -> ref.
* mail-send-recv.c (build_dialogue): weak notify -> ref.
* mail-accounts.c (account_edit_clicked): weak notify -> ref, i
presume this is what jeff meant, 'cause it dont compile otherwise.
svn path=/trunk/; revision=18778
2002-11-14 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-selection-model.[ch]: this derives from GObject now.
* gal/widgets/e-selection-model-simple.[ch]: same.
* gal/widgets/e-selection-model-array.[ch]: same.
* gal/widgets/e-reflow-model.[ch]: same.
* gal/widgets/e-reflow.c: fix all references to EReflowModel such
that it's a GObject, not a GtkObject.
svn path=/trunk/; revision=18772
* e-shell-user-creatable-items-handler.c,
* e-shell-user-creatable-items-handler.c: Changed into a GObject
subclass instead of a GtkObject subclass.
* e-component-registry.c,
* e-component-registri.h: Changed into a GObject subclass instead
of a GtkObject subclass.
* evolution-shell-view.c (impl_ShellView_set_message): Remove
bogus GTK_OBJECT() cast in call to g_signal_emit().
(impl_ShellView_unset_message): Likewise.
(impl_ShellView_change_current_view): Likewise.
(impl_ShellView_set_title): Likewise.
svn path=/trunk/; revision=18769
2002-11-14 Chris Toshok <toshok@ximian.com>
* gal-define-views-dialog.c (gal_define_views_dialog_init): hrm,
we shouldn't need to do this, but gtk_widget_show_all the custom
widget so it actually shows up.
svn path=/trunk/; revision=18767
* e-shell-view.c (init): Ref/sink the GtkTooltips.
* e-uri-schema-registry.c (schema_handler_free): g_object_unref()
on the component instead of bonobo_object_unref().
svn path=/trunk/; revision=18765
2002-11-14 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (account_edit_clicked): Use g_object_weak_ref
rather than connecting to destroy.
(account_add_clicked): Same.
* mail-callbacks.c (addrbook_sender): Make this use
g_object_weak_notify also.
(subscribe_dialog_destroy): Add NULL guards here since I think we
really do want to connect to the "destroy" signal in the function
that connects us to that signal.
* mail-config-factory.c (config_control_factory_cb): Same.
* mail-display.c (save_part): Here too.
(make_popup_window): And here.
* mail-send-recv.c (build_dialogue): Same here.
* mail-summary.c (create_summary_view): Use g_object_weak_notify
instead of connecting to the destroy signal.
svn path=/trunk/; revision=18764
* main.c (no_views_left_cb): Use bonobo_main_quit() instead of
gtk_main_quit().
(shell_weak_notify): Likewise.
(idle_cb): Likewise.
* e-shell.c (notify_no_views_left_idle_cb): New idle function to
emit the "no_views_left" signal.
(view_weak_notify): Put it on the idle loop instead of firing the
signal here.
* e-task-widget.c (e_task_widget_construct): Ref/sink the
GtkTooltips object.
svn path=/trunk/; revision=18763
* evolution-shell-component-client.c (destroy_listener_interface):
Avoid freeing the servant for now, it looks like something is
messed up and this causes a crash on exit.
* evolution-storage-set-view-listener.c (impl_finalize): Do not
invoke POA_GNOME_Evolution_StorageSetViewListener__fini().
* evolution-storage-listener.c (impl_finalize): Do not invoke
POA_GNOME_Evolution_StorageListener__fini().
* e-shell-offline-sync.c (progress_listener_servant_free): Do not
invoke POA_GNOME_Evolution_SyncFolderProgressListener__fini().
* e-shell-offline-handler.c (progress_listener_servant_free): Do
not invoke POA_GNOME_Evolution_OfflineProgressListener__fini().
* e-corba-storage.c (impl_dispose): Do not invoke
POA_GNOME_Evolution_StorageListener__fini().
* evolution-shell-component-client.c (destroy_listener_interface):
Do not invoke POA_GNOME_Evolution_ShellComponentListener__fini().
svn path=/trunk/; revision=18759
* main.c (quit_box_destroyed_callback): Removed.
(no_views_left_cb): Use g_object_add_weak_pointer() instad of
connecting to the "destroy" signal.
(destroy_cb): Removed.
(shell_weak_notify): New.
(idle_cb): Use g_object_weak_ref() on the shell object instead of
connecting to the "destroy" signal.
* evolution-test-component.c (dialog_destroy_callback): Removed.
(dialog_weak_notify): New.
(create_new_folder_selector): Use g_object_weak_ref() on the
dialog instead of connecting the "destroy" signal.
* e-shortcuts.c (view_destroyed_cb): Removed.
(view_weak_notify): New.
(e_shortcuts_new_view): g_object_weak_ref() the new view instead
of connecting the "destroy" signal.
(impl_dispose): Free the ->views and g_object_weak_unref() all the
items.
* e-shell.c (view_destroy_cb): Removed.
(view_weak_notify): New.
(create_view): Use g_object_weak_ref() on the newly created view
instead of connecting to the "destroy" signal.
(impl_dispose): g_object_weak_unref() the views.
(e_shell_show_settings): Use g_object_add_weak_pointer() on the
settings_dialog instead of connecting to the "destroy" signal.
(settings_dialog_destroy_cb): Removed.
* e-shell-shared-folder-picker-dialog.c
(progress_bar_weak_notify): New.
(progress_bar_destroy_callback): Removed.
(create_progress_dialog): Use g_object_weak_ref() on the progress
bar object instead of connecting to its "destroy" signal.
(shell_destroy_callback): Removed.
(shell_view_destroy_callback): Removed.
(storage_destroy_callback): Removed.
(shell_weak_notify): New.
(shell_view_weak_notify): New.
(storage_weak_notify): New.
(discover_folder): Use g_object_weak_ref() on the shell, parent,
storage objects instead of connecting to their "destroy" signals.
* e-shell-importer.c: Removed member destroyed from
ImporterComponentData.
(import_cb): Instead of checking if ->destroyed is TRUE, check if
->dialog is NULL to decide whether the dialog has been destroyed
or not.
(dialog_destroy_cb): Removed.
(start_import): Use g_object_weak_ref() on the dialog object
instead of connecting to its "destroy" signal.
(dialog_close): Removed.
(dialog_weak_notify): New.
(show_import_wizard): Use g_object_weak_ref() on the dialog object
instead of connecting to its "destroy" signal.
(import_druid_destroy): New.
(import_druid_weak_notify): New.
(show_import_wizard): Use g_object_weak_ref() on the druid object
instead of connecting to its "destroy" signal.
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): g_object_weak_ref()
the shell object instead of connecting to its "destroy" signal.
* e-shell-folder-creation-dialog.c (dialog_destroy_cb): Removed.
(dialog_destroy_notify): New.
(e_shell_show_folder_creation_dialog): g_object_weak_ref() the
dialog instead of connecting to its "destroy" signal.
(shell_destroy_cb): Removed.
(shell_destroy_notify): New.
(e_shell_show_folder_creation_dialog): g_object_weak_ref() the
shell object instead of connecting to its "destroy" signal.
* e-shell-config-offline.c (config_control_destroy_callback):
Removed.
(config_control_destroy_notify): New.
(e_shell_config_offline_create_widget): g_object_weak_ref() the
config_control instead of connecting to its "destroy" signal.
* e-shell-config-default-folders.c
(config_control_destroy_callback): Removed.
(config_control_destroy_notify): New.
(e_shell_config_default_folders_create_widget):
g_object_weak_ref() instead of connecting to the "destroy" signal.
* e-shell-config-autocompletion.c (config_control_destroy_notify):
New.
(config_control_destroy_callback): Removed.
(e_shell_config_autocompletion_create_widget):
g_object_weak_ref() instead of connecting to the "destroy" signal.
* e-activity-handler.c (task_bar_destroy_cb): Removed.
(task_bar_destroy_notify): New.
(e_activity_handler_attach_task_bar): Weak_ref the task_bar using
task_bar_destroy_notify.
(impl_dispose): Weak_unref the task bars in priv->task_bars.
svn path=/trunk/; revision=18756
2002-11-13 Joe Shaw <joe@ximian.com>
* Makefile.am: Remove a couple backslashes that were causing
automake to complain, even though they were on lines that were
-commented out-. Sigh.
svn path=/trunk/; revision=18746
* e-shell-startup-wizard.c (e_shell_startup_wizard_create):
Connect finish_func to the "next" signal for now, since GnomeDruid
seems to be borked.
* e-uri-schema-registry.c (schema_handler_new): g_object_ref()
@component instead of bonobo_object_ref().
* e-local-storage.c (create_folder): g_object_ref() for the
component_client, instead of bonobo_object_ref().
(remove_folder_step): Likewise.
svn path=/trunk/; revision=18741
2002-11-13 Not Zed <NotZed@Ximian.com>
* evolution-storage.c: remove GTK_OBJECT cast and other GTK stuff.
* evolution-storage.h: this is a gobject not a gtkobject, fix cast
macros, and get_type call.
svn path=/trunk/; revision=18735