[gtksourceview/gnome-3-6] Fix cut&paste error in last patch
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/gnome-3-6] Fix cut&paste error in last patch
- Date: Sun, 4 Nov 2012 11:41:53 +0000 (UTC)
commit 769ee12d65f378da930060122333bb0e011bb239
Author: Paolo Borelli <pborelli gnome org>
Date: Sun Nov 4 01:58:30 2012 +0100
Fix cut&paste error in last patch
gtksourceview/gtksourcegutterrenderer.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/gtksourcegutterrenderer.c b/gtksourceview/gtksourcegutterrenderer.c
index 06f26a0..abba13f 100644
--- a/gtksourceview/gtksourcegutterrenderer.c
+++ b/gtksourceview/gtksourcegutterrenderer.c
@@ -89,13 +89,13 @@ set_buffer (GtkSourceGutterRenderer *renderer,
if (renderer->priv->buffer != NULL)
{
g_object_remove_weak_pointer (G_OBJECT (renderer->priv->buffer),
- &renderer->priv->buffer);
+ (gpointer) &renderer->priv->buffer);
}
if (buffer != NULL)
{
- g_object_add_weak_pointer (G_OBJECT (renderer->priv->buffer),
- &renderer->priv->buffer);
+ g_object_add_weak_pointer (G_OBJECT (buffer),
+ (gpointer) &renderer->priv->buffer);
}
renderer->priv->buffer = buffer;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]