[pkg-fso-commits] [SCM] libframeworkd-phonegui branch, upstream, updated. 640da47bfcff755388d0fb8f443eb34e0dea3c72
quickdev
niklas.coding at gmail.com
Sat Dec 27 20:50:11 UTC 2008
The following commit has been merged in the upstream branch:
commit 92e13861861cafd1d8078cdb080889060d04bf3c
Author: quickdev <niklas.coding at gmail.com>
Date: Tue Dec 23 15:38:29 2008 +0100
Bug prevention: Set some variables to NULL.
diff --git a/libframeworkd-phonegui-efl/src/phonegui-dialer.c b/libframeworkd-phonegui-efl/src/phonegui-dialer.c
index e51ff03..363a70c 100644
--- a/libframeworkd-phonegui-efl/src/phonegui-dialer.c
+++ b/libframeworkd-phonegui-efl/src/phonegui-dialer.c
@@ -35,5 +35,6 @@ static void _show(struct Window *win) {
static void _hide(struct Window *win) {
g_debug("_hide()");
window_destroy(win, NULL);
+ win = NULL;
}
diff --git a/libframeworkd-phonegui-efl/src/phonegui-messages.c b/libframeworkd-phonegui-efl/src/phonegui-messages.c
index dedcec8..808832f 100644
--- a/libframeworkd-phonegui-efl/src/phonegui-messages.c
+++ b/libframeworkd-phonegui-efl/src/phonegui-messages.c
@@ -36,5 +36,6 @@ static void _show(struct Window *win) {
static void _hide(struct Window *win) {
g_debug("_hide()");
window_destroy(win, NULL);
+ win = NULL;
}
diff --git a/libframeworkd-phonegui-efl/src/phonegui-ussd.c b/libframeworkd-phonegui-efl/src/phonegui-ussd.c
index bd62470..a398e00 100644
--- a/libframeworkd-phonegui-efl/src/phonegui-ussd.c
+++ b/libframeworkd-phonegui-efl/src/phonegui-ussd.c
@@ -43,5 +43,6 @@ static void _show(GHashTable *options) {
static void _hide(struct Window *win) {
g_debug("_hide()");
window_destroy(win, NULL);
+ win = NULL;
}
--
libframeworkd-phonegui
More information about the pkg-fso-commits
mailing list