[evolution/wip-webkit2] EDOMUtils - Initialize GError variables



commit cc6409523bd2878d3e2ddd4f1ae41a17c46caf65
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Nov 8 13:20:27 2013 +0100

    EDOMUtils - Initialize GError variables

 e-util/e-dom-utils.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/e-util/e-dom-utils.c b/e-util/e-dom-utils.c
index adbb590..4c5e597 100644
--- a/e-util/e-dom-utils.c
+++ b/e-util/e-dom-utils.c
@@ -886,7 +886,7 @@ display_mode_toggle_button_cb (WebKitDOMElement *button,
                                WebKitDOMEvent *event,
                                GDBusConnection *connection)
 {
-       GError *error;
+       GError *error = NULL;
 
        g_dbus_connection_emit_signal (
                connection,
@@ -911,7 +911,7 @@ save_vcard_button_cb (WebKitDOMElement *button,
                       WebKitDOMEvent *event,
                       GDBusConnection *connection)
 {
-       GError *error;
+       GError *error = NULL;
 
        g_dbus_connection_emit_signal (
                connection,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]