Commit 00a3a55a authored by Milan Crha's avatar Milan Crha

M!5 - Replace custom expand/collapse icons with gtk stock icons ][

Fix possible use of uninitialized variables caused by the patch.

Related to !5
parent 19e4d7b2
...@@ -619,8 +619,8 @@ toggle_headers_visibility (WebKitDOMElement *button, ...@@ -619,8 +619,8 @@ toggle_headers_visibility (WebKitDOMElement *button,
WebKitDOMEvent *event, WebKitDOMEvent *event,
WebKitDOMDocument *document) WebKitDOMDocument *document)
{ {
WebKitDOMElement *short_headers, *full_headers, *button_image; WebKitDOMElement *short_headers, *full_headers = NULL, *button_image = NULL;
WebKitDOMCSSStyleDeclaration *css_short, *css_full; WebKitDOMCSSStyleDeclaration *css_short, *css_full = NULL;
GSettings *settings; GSettings *settings;
gboolean expanded; gboolean expanded;
const gchar *path; const gchar *path;
...@@ -678,8 +678,8 @@ toggle_address_visibility (WebKitDOMElement *element, ...@@ -678,8 +678,8 @@ toggle_address_visibility (WebKitDOMElement *element,
WebKitDOMEvent *event, WebKitDOMEvent *event,
gpointer user_data) gpointer user_data)
{ {
WebKitDOMElement *full_addr, *ellipsis, *parent, *img, *tmp; WebKitDOMElement *full_addr = NULL, *ellipsis = NULL, *parent, *img, *tmp;
WebKitDOMCSSStyleDeclaration *css_full, *css_ellipsis; WebKitDOMCSSStyleDeclaration *css_full = NULL, *css_ellipsis = NULL;
gchar *property_value; gchar *property_value;
gboolean expanded; gboolean expanded;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment