aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-07-02 02:49:29 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-07-02 02:49:29 +0800
commitacb62e85ec15ab0af6c8b58b2bf7f6e8ca4af0a8 (patch)
treeb72d039e524363b662a996a3dcd3a1b0ead2b871 /shell
parentac60e853cbee9c568b3cc066cbdadfdd7e0152c8 (diff)
downloadgsoc2013-evolution-acb62e85ec15ab0af6c8b58b2bf7f6e8ca4af0a8.tar
gsoc2013-evolution-acb62e85ec15ab0af6c8b58b2bf7f6e8ca4af0a8.tar.gz
gsoc2013-evolution-acb62e85ec15ab0af6c8b58b2bf7f6e8ca4af0a8.tar.bz2
gsoc2013-evolution-acb62e85ec15ab0af6c8b58b2bf7f6e8ca4af0a8.tar.lz
gsoc2013-evolution-acb62e85ec15ab0af6c8b58b2bf7f6e8ca4af0a8.tar.xz
gsoc2013-evolution-acb62e85ec15ab0af6c8b58b2bf7f6e8ca4af0a8.tar.zst
gsoc2013-evolution-acb62e85ec15ab0af6c8b58b2bf7f6e8ca4af0a8.zip
Make the EUriSchemaRegistry object non-floating at construction time.
svn path=/trunk/; revision=10658
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-uri-schema-registry.c2
-rw-r--r--shell/e-uri-schema-registry.h2
3 files changed, 8 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index a7e079c1d0..59f9096f9d 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2001-07-01 Ettore Perazzoli <ettore@ximian.com>
+ * e-uri-schema-registry.c (init): Unset the FLOATING flag on the
+ object.
+
+2001-07-01 Ettore Perazzoli <ettore@ximian.com>
+
* e-shell-view.c: Fixing a bug that could cause Evolution to crash
if a new ShellView was created and then destroyed, and then a new
folder would appear in the folder tree. Sigh, this code with the
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