[anjuta] sourceview: bgo #626541 - Crash when saving to unavailable location
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] sourceview: bgo #626541 - Crash when saving to unavailable location
- Date: Wed, 8 Sep 2010 20:18:43 +0000 (UTC)
commit ba0b7b27528ea3f8897897ff1f347e9cd26fa204
Author: Sébastien Granjoux <seb sfo free fr>
Date: Wed Sep 8 22:11:00 2010 +0200
sourceview: bgo #626541 - Crash when saving to unavailable location
plugins/sourceview/sourceview-io.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/sourceview/sourceview-io.c b/plugins/sourceview/sourceview-io.c
index 104921e..634d592 100644
--- a/plugins/sourceview/sourceview-io.c
+++ b/plugins/sourceview/sourceview-io.c
@@ -240,7 +240,7 @@ on_save_finished (GObject* file, GAsyncResult* result, gpointer data)
SourceviewIO* sio = SOURCEVIEW_IO(data);
AnjutaShell* shell = ANJUTA_PLUGIN (sio->sv->priv->plugin)->shell;
GError* err = NULL;
- gchar* etag;
+ gchar* etag = NULL;
g_file_replace_contents_finish (G_FILE (file),
result,
&etag,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]