aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-08-25 06:24:36 +0800
committerChris Lahey <clahey@src.gnome.org>2000-08-25 06:24:36 +0800
commitc99edac0b5c58ba083a668a7de97409151768319 (patch)
tree16db0aec3a13eeda5df230b2cc32b666b948086e
parentaa9505c5aec5d05fab25116d2425cf27afb58c41 (diff)
downloadgsoc2013-evolution-c99edac0b5c58ba083a668a7de97409151768319.tar
gsoc2013-evolution-c99edac0b5c58ba083a668a7de97409151768319.tar.gz
gsoc2013-evolution-c99edac0b5c58ba083a668a7de97409151768319.tar.bz2
gsoc2013-evolution-c99edac0b5c58ba083a668a7de97409151768319.tar.lz
gsoc2013-evolution-c99edac0b5c58ba083a668a7de97409151768319.tar.xz
gsoc2013-evolution-c99edac0b5c58ba083a668a7de97409151768319.tar.zst
gsoc2013-evolution-c99edac0b5c58ba083a668a7de97409151768319.zip
Set default values for all of the signal emissions.
2000-08-24 Christopher James Lahey <clahey@helixcode.com> * e-table.c: Set default values for all of the signal emissions. svn path=/trunk/; revision=5026
-rw-r--r--widgets/e-table/ChangeLog4
-rw-r--r--widgets/e-table/e-table.c6
-rw-r--r--widgets/table/e-table.c6
3 files changed, 10 insertions, 6 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index 1b64dddaea..0099c27d0d 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,5 +1,9 @@
2000-08-24 Christopher James Lahey <clahey@helixcode.com>
+ * e-table.c: Set default values for all of the signal emissions.
+
+2000-08-24 Christopher James Lahey <clahey@helixcode.com>
+
* e-table-selection-model.c: Check for selection->selection being
NULL in e_table_selection_model_selected_count.
diff --git a/widgets/e-table/e-table.c b/widgets/e-table/e-table.c
index 1cf9e81e9a..26cb1504b9 100644
--- a/widgets/e-table/e-table.c
+++ b/widgets/e-table/e-table.c
@@ -310,7 +310,7 @@ group_double_click (ETableGroup *etg, int row, ETable *et)
static gint
group_right_click (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et)
{
- int return_val;
+ int return_val = 0;
gtk_signal_emit (GTK_OBJECT (et),
et_signals [RIGHT_CLICK],
row, col, event, &return_val);
@@ -320,7 +320,7 @@ group_right_click (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *
static gint
group_click (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et)
{
- int return_val;
+ int return_val = 0;
gtk_signal_emit (GTK_OBJECT (et),
et_signals [CLICK],
row, col, event, &return_val);
@@ -330,7 +330,7 @@ group_click (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et)
static gint
group_key_press (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et)
{
- int return_val;
+ int return_val = 0;
gtk_signal_emit (GTK_OBJECT (et),
et_signals [KEY_PRESS],
row, col, event, &return_val);
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 1cf9e81e9a..26cb1504b9 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -310,7 +310,7 @@ group_double_click (ETableGroup *etg, int row, ETable *et)
static gint
group_right_click (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et)
{
- int return_val;
+ int return_val = 0;
gtk_signal_emit (GTK_OBJECT (et),
et_signals [RIGHT_CLICK],
row, col, event, &return_val);
@@ -320,7 +320,7 @@ group_right_click (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *
static gint
group_click (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et)
{
- int return_val;
+ int return_val = 0;
gtk_signal_emit (GTK_OBJECT (et),
et_signals [CLICK],
row, col, event, &return_val);
@@ -330,7 +330,7 @@ group_click (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et)
static gint
group_key_press (ETableGroup *etg, int row, int col, GdkEvent *event, ETable *et)
{
- int return_val;
+ int return_val = 0;
gtk_signal_emit (GTK_OBJECT (et),
et_signals [KEY_PRESS],
row, col, event, &return_val);