diff options
author | Matthew Loper <mloper@src.gnome.org> | 2000-07-27 05:08:43 +0800 |
---|---|---|
committer | Matthew Loper <mloper@src.gnome.org> | 2000-07-27 05:08:43 +0800 |
commit | cf874e6155de222f8657885510c55c9ddff4b772 (patch) | |
tree | ba6fcff7c402e1c55078c4543505c30fe141e131 | |
parent | 3332eacac7d16b21f2442036960c22bbd3118b23 (diff) | |
download | gsoc2013-evolution-cf874e6155de222f8657885510c55c9ddff4b772.tar.gz gsoc2013-evolution-cf874e6155de222f8657885510c55c9ddff4b772.tar.zst gsoc2013-evolution-cf874e6155de222f8657885510c55c9ddff4b772.zip |
Uninitialized variable fix for e-table
svn path=/trunk/; revision=4367
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | widgets/e-table/e-table-scrolled.c | 2 | ||||
-rw-r--r-- | widgets/table/e-table-scrolled.c | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -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); |