diff options
-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); |