[evolution] M!5 - Replace custom expand/collapse icons with gtk stock icons ][
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] M!5 - Replace custom expand/collapse icons with gtk stock icons ][
- Date: Wed, 13 Mar 2019 16:12:07 +0000 (UTC)
commit 00a3a55a95e33984f09fb0a5de6d9ed3e0aaf9f0
Author: Milan Crha <mcrha redhat com>
Date: Wed Mar 13 17:12:16 2019 +0100
M!5 - Replace custom expand/collapse icons with gtk stock icons ][
Fix possible use of uninitialized variables caused by the patch.
Related to https://gitlab.gnome.org/GNOME/evolution/merge_requests/5
src/web-extensions/e-dom-utils.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/web-extensions/e-dom-utils.c b/src/web-extensions/e-dom-utils.c
index 28ae051795..6cb7d4b567 100644
--- a/src/web-extensions/e-dom-utils.c
+++ b/src/web-extensions/e-dom-utils.c
@@ -619,8 +619,8 @@ toggle_headers_visibility (WebKitDOMElement *button,
WebKitDOMEvent *event,
WebKitDOMDocument *document)
{
- WebKitDOMElement *short_headers, *full_headers, *button_image;
- WebKitDOMCSSStyleDeclaration *css_short, *css_full;
+ WebKitDOMElement *short_headers, *full_headers = NULL, *button_image = NULL;
+ WebKitDOMCSSStyleDeclaration *css_short, *css_full = NULL;
GSettings *settings;
gboolean expanded;
const gchar *path;
@@ -678,8 +678,8 @@ toggle_address_visibility (WebKitDOMElement *element,
WebKitDOMEvent *event,
gpointer user_data)
{
- WebKitDOMElement *full_addr, *ellipsis, *parent, *img, *tmp;
- WebKitDOMCSSStyleDeclaration *css_full, *css_ellipsis;
+ WebKitDOMElement *full_addr = NULL, *ellipsis = NULL, *parent, *img, *tmp;
+ WebKitDOMCSSStyleDeclaration *css_full = NULL, *css_ellipsis = NULL;
gchar *property_value;
gboolean expanded;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]