[glom] Fix make check with --enable-warnings=fatal.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Fix make check with --enable-warnings=fatal.
- Date: Sun, 9 Oct 2011 15:04:27 +0000 (UTC)
commit 518df53aed0717e39c6e4d3cdfbb9ee022bf6c42
Author: Murray Cumming <murrayc murrayc com>
Date: Sun Oct 9 17:04:02 2011 +0200
Fix make check with --enable-warnings=fatal.
* glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc:
drop_possible handlers: Adapt to the new meanin of the return type.
ChangeLog | 7 +++++++
.../eggspreadtablemm/test_spreadtablednd.cc | 10 ++++------
2 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7d175dd..cd4212b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-10-09 Murray Cumming <murrayc murrayc com>
+ Fix make check with --enable-warnings=fatal.
+
+ * glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc:
+ drop_possible handlers: Adapt to the new meanin of the return type.
+
+2011-10-09 Murray Cumming <murrayc murrayc com>
+
Fix the build with --enable-warnings=fatal.
* glom/utility_widgets/eggspreadtablemm/eggspreadtabledndmm.cc:
diff --git a/glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc b/glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc
index 84ef7a1..be9b6e1 100644
--- a/glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc
+++ b/glom/utility_widgets/eggspreadtablemm/test_spreadtablednd.cc
@@ -119,19 +119,17 @@ on_combo_halign_changed()
static bool
on_spreadtable_parent_drop_possible(Gtk::Widget* /* child */, bool& drop_possible)
{
- if(parent_accepts_drops)
- return true;
+ drop_possible = parent_accepts_drops;
- return false;
+ return TRUE; //Handled, instead of using the default behaviour.
}
static bool
on_inner_spreadtable_drop_possible(Gtk::Widget* /* child */, bool& drop_possible)
{
- if(child_accepts_drops)
- return true;
+ drop_possible = child_accepts_drops;
- return false;
+ return TRUE; //Handled, instead of using the default behaviour.
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]