[anjuta] git: NULL terminate the objects list when creating the stash widget



commit 0f5b2d529c5b543ef47374048845bd4e28e9c094
Author: James Liggett <jrliggett cox net>
Date:   Sat Jul 25 14:24:51 2009 -0700

    git: NULL terminate the objects list when creating the stash widget

 plugins/git/git-stash-widget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/git/git-stash-widget.c b/plugins/git/git-stash-widget.c
index 7a646c0..4c00535 100644
--- a/plugins/git/git-stash-widget.c
+++ b/plugins/git/git-stash-widget.c
@@ -299,7 +299,7 @@ git_stash_widget_create (Git *plugin, GtkWidget **stash_widget,
 {
 	gchar *objects[] = {"stash_widget_scrolled_window", 
 						"stash_widget_grip_hbox",
-						"stash_list_model"};
+						"stash_list_model", NULL};
 	GtkBuilder *bxml;
 	GError *error;
 	GitUIData *data;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]