From acb62e85ec15ab0af6c8b58b2bf7f6e8ca4af0a8 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 1 Jul 2001 18:49:29 +0000 Subject: Make the EUriSchemaRegistry object non-floating at construction time. svn path=/trunk/; revision=10658 --- shell/ChangeLog | 5 +++++ shell/e-uri-schema-registry.c | 2 ++ shell/e-uri-schema-registry.h | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index a7e079c1d0..59f9096f9d 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2001-07-01 Ettore Perazzoli + + * e-uri-schema-registry.c (init): Unset the FLOATING flag on the + object. + 2001-07-01 Ettore Perazzoli * e-shell-view.c: Fixing a bug that could cause Evolution to crash diff --git a/shell/e-uri-schema-registry.c b/shell/e-uri-schema-registry.c index 5646870925..1136cb92a6 100644 --- a/shell/e-uri-schema-registry.c +++ b/shell/e-uri-schema-registry.c @@ -116,6 +116,8 @@ init (EUriSchemaRegistry *uri_schema_registry) priv->schema_to_handler = g_hash_table_new (g_str_hash, g_str_equal); uri_schema_registry->priv = priv; + + GTK_OBJECT_UNSET_FLAGS (uri_schema_registry, GTK_FLOATING); } diff --git a/shell/e-uri-schema-registry.h b/shell/e-uri-schema-registry.h index 190a0b497f..458810b739 100644 --- a/shell/e-uri-schema-registry.h +++ b/shell/e-uri-schema-registry.h @@ -61,7 +61,7 @@ EUriSchemaRegistry *e_uri_schema_registry_new (void); gboolean e_uri_schema_registry_set_handler_for_schema (EUriSchemaRegistry *registry, const char *schema, EvolutionShellComponentClient *shell_component); -EvolutionShellComponentClient *e_uri_schema_registry_get_handler_for_schema (EUriSchemaRegistry *registry, +EvolutionShellComponentClient *e_uri_schema_registry_get_handler_for_schema (EUriSchemaRegistry *registry, const char *schema); #ifdef __cplusplus -- cgit