aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Loper <mloper@src.gnome.org>2000-07-27 05:08:43 +0800
committerMatthew Loper <mloper@src.gnome.org>2000-07-27 05:08:43 +0800
commitcf874e6155de222f8657885510c55c9ddff4b772 (patch)
treeba6fcff7c402e1c55078c4543505c30fe141e131
parent3332eacac7d16b21f2442036960c22bbd3118b23 (diff)
downloadgsoc2013-evolution-cf874e6155de222f8657885510c55c9ddff4b772.tar
gsoc2013-evolution-cf874e6155de222f8657885510c55c9ddff4b772.tar.gz
gsoc2013-evolution-cf874e6155de222f8657885510c55c9ddff4b772.tar.bz2
gsoc2013-evolution-cf874e6155de222f8657885510c55c9ddff4b772.tar.lz
gsoc2013-evolution-cf874e6155de222f8657885510c55c9ddff4b772.tar.xz
gsoc2013-evolution-cf874e6155de222f8657885510c55c9ddff4b772.tar.zst
gsoc2013-evolution-cf874e6155de222f8657885510c55c9ddff4b772.zip
Uninitialized variable fix for e-table
svn path=/trunk/; revision=4367
-rw-r--r--ChangeLog5
-rw-r--r--widgets/e-table/e-table-scrolled.c2
-rw-r--r--widgets/table/e-table-scrolled.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index eb170a9c55..f5bbc7ab3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-26 Peter Williams <peterw@helixcode.com>
+
+ * widgets/e-table/e-table-scrolled.c (right_click_proxy): Default
+ the return value to 0.
+
2000-07-25 Dan Winship <danw@helixcode.com>
* configure.in: some unrelated changes: check for mkdtemp,
diff --git a/widgets/e-table/e-table-scrolled.c b/widgets/e-table/e-table-scrolled.c
index 1a7b5251ad..f70ca5320a 100644
--- a/widgets/e-table/e-table-scrolled.c
+++ b/widgets/e-table/e-table-scrolled.c
@@ -65,7 +65,7 @@ double_click_proxy (ETable *et, int row, ETableScrolled *ets)
static gint
right_click_proxy (ETable *et, int row, int col, GdkEvent *event, ETableScrolled *ets)
{
- int return_val;
+ int return_val = 0;
gtk_signal_emit (GTK_OBJECT (ets),
ets_signals [RIGHT_CLICK],
row, col, event, &return_val);
diff --git a/widgets/table/e-table-scrolled.c b/widgets/table/e-table-scrolled.c
index 1a7b5251ad..f70ca5320a 100644
--- a/widgets/table/e-table-scrolled.c
+++ b/widgets/table/e-table-scrolled.c
@@ -65,7 +65,7 @@ double_click_proxy (ETable *et, int row, ETableScrolled *ets)
static gint
right_click_proxy (ETable *et, int row, int col, GdkEvent *event, ETableScrolled *ets)
{
- int return_val;
+ int return_val = 0;
gtk_signal_emit (GTK_OBJECT (ets),
ets_signals [RIGHT_CLICK],
row, col, event, &return_val);