[anjuta] Revert "sourceview: Hold a reference on the provider (related to #611272)"
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] Revert "sourceview: Hold a reference on the provider (related to #611272)"
- Date: Sat, 6 Mar 2010 09:16:48 +0000 (UTC)
commit d602536dcc64c2784a8592f252047ede90f492e9
Author: Johannes Schmid <jhs gnome org>
Date: Fri Mar 5 23:56:45 2010 +0100
Revert "sourceview: Hold a reference on the provider (related to #611272)"
This reverts commit d8139ea6e9ae7b06e7b15f21f7b3150f95e45ecb.
plugins/sourceview/sourceview-provider.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plugins/sourceview/sourceview-provider.c b/plugins/sourceview/sourceview-provider.c
index 2c49ea2..7558cd2 100644
--- a/plugins/sourceview/sourceview-provider.c
+++ b/plugins/sourceview/sourceview-provider.c
@@ -115,8 +115,7 @@ sourceview_provider_init (SourceviewProvider *object)
static void
sourceview_provider_dispose (GObject* obj)
{
- SourceviewProvider* prov = SOURCEVIEW_PROVIDER(obj);
- g_object_unref (prov->iprov);
+
}
static void
@@ -134,7 +133,6 @@ GtkSourceCompletionProvider* sourceview_provider_new (Sourceview* sv,
SourceviewProvider* prov = SOURCEVIEW_PROVIDER(obj);
prov->sv = sv;
prov->iprov = iprov;
- g_object_ref (prov->iprov);
return GTK_SOURCE_COMPLETION_PROVIDER(obj);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]