[pan2: 37/68] Fix segfault due to use of uninitialized pointer.
- From: Petr Kovář <pmkovar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2: 37/68] Fix segfault due to use of uninitialized pointer.
- Date: Tue, 8 Feb 2011 23:01:08 +0000 (UTC)
commit 2c547f96a8365115d5f0a0a81d44ca7d6f90fda9
Author: K. Haley <haleykd users sf net>
Date: Wed Aug 4 11:45:52 2010 -0600
Fix segfault due to use of uninitialized pointer.
pan/gui/group-pane.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pan/gui/group-pane.cc b/pan/gui/group-pane.cc
index 81e3247..0edb243 100644
--- a/pan/gui/group-pane.cc
+++ b/pan/gui/group-pane.cc
@@ -835,6 +835,7 @@ GtkWidget*
GroupPane :: create_filter_entry ()
{
GtkWidget * entry = gtk_entry_new ();
+ g_object_set_data (G_OBJECT(entry), "group-pane", this);
gtk_entry_set_icon_from_stock( GTK_ENTRY( entry ),
GTK_ENTRY_ICON_SECONDARY,
GTK_STOCK_CLEAR );
@@ -868,7 +869,6 @@ GroupPane :: create_filter_entry ()
gtk_widget_show (w);
}
g_signal_connect (entry, "icon-release", G_CALLBACK(entry_icon_released), menu);
- g_object_set_data (G_OBJECT(entry), "group-pane", this);
refresh_search_entry (entry);
return entry;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]