[gedit] Fix crash in documents panel.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Fix crash in documents panel.
- Date: Sun, 25 Jul 2010 15:51:47 +0000 (UTC)
commit e597cd545db1320ed8ce5139f1412ea9735c270d
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun Jul 25 17:51:28 2010 +0200
Fix crash in documents panel.
gedit/gedit-documents-panel.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-documents-panel.c b/gedit/gedit-documents-panel.c
index 14ccdf3..ecda4e4 100644
--- a/gedit/gedit-documents-panel.c
+++ b/gedit/gedit-documents-panel.c
@@ -458,7 +458,9 @@ sync_name_and_icon (GeditTab *tab,
gedit_debug (DEBUG_PANEL);
- get_iter_from_tab (panel, NULL, tab, &iter);
+ get_iter_from_tab (panel,
+ gedit_multi_notebook_get_active_notebook (panel->priv->mnb),
+ tab, &iter);
name = tab_get_name (tab);
pixbuf = _gedit_tab_get_icon (tab);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]