[gitg] Terminate gtk_text_buffer_create_tag's arguments with NULL to prevent GLib warnings.
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: svn-commits-list gnome org
- Subject: [gitg] Terminate gtk_text_buffer_create_tag's arguments with NULL to prevent GLib warnings.
- Date: Sun, 5 Apr 2009 10:57:49 -0400 (EDT)
commit a64c2a8757ed5ae5695c9b942326ba558fa900ef
Author: Jonny Lamb <jonny debian org>
Date: Mon Mar 23 02:28:02 2009 +0000
Terminate gtk_text_buffer_create_tag's arguments with NULL to prevent GLib warnings.
Signed-off-by: Jonny Lamb <jonny debian org>
---
gitg/gitg-diff-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gitg/gitg-diff-view.c b/gitg/gitg-diff-view.c
index d3d3366..044f026 100644
--- a/gitg/gitg-diff-view.c
+++ b/gitg/gitg-diff-view.c
@@ -255,7 +255,7 @@ on_buffer_set(GitgDiffView *self, GParamSpec *spec, gpointer userdata)
g_signal_connect_after(self->priv->current_buffer, "delete-range", G_CALLBACK(on_buffer_delete_range), self);
self->priv->scan_id = g_idle_add((GSourceFunc)on_idle_scan, self);
- self->priv->invisible_tag = gtk_text_buffer_create_tag(self->priv->current_buffer, "GitgHunkInvisible", "invisible", TRUE);
+ self->priv->invisible_tag = gtk_text_buffer_create_tag(self->priv->current_buffer, "GitgHunkInvisible", "invisible", TRUE, NULL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]