projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53e0bd9
)
PlacesSidebar: Avoid warning about unused variable
author
Daniel Boles
<dboles@src.gnome.org>
Sun, 27 Aug 2017 14:32:44 +0000
(15:32 +0100)
committer
Daniel Boles
<dboles@src.gnome.org>
Sun, 27 Aug 2017 14:37:34 +0000
(15:37 +0100)
end_icon is only used if HAVE_CLOUDPROVIDERS is defined, so only declare
it under the same condition.
https://bugzilla.gnome.org/show_bug.cgi?id=786123
gtk/gtkplacessidebar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkplacessidebar.c
b/gtk/gtkplacessidebar.c
index d684f6719a79cb3e9401f692b5580d778bbbffc3..014c2781af85d14a380f2a5d0a0e6595f018efa0 100644
(file)
--- a/
gtk/gtkplacessidebar.c
+++ b/
gtk/gtkplacessidebar.c
@@
-992,12
+992,12
@@
update_places (GtkPlacesSidebar *sidebar)
GtkListBoxRow *selected;
gchar *home_uri;
GIcon *start_icon;
- GIcon *end_icon;
GFile *root;
gchar *tooltip;
GList *network_mounts, *network_volumes;
GIcon *new_bookmark_icon;
#ifdef HAVE_CLOUDPROVIDERS
+ GIcon *end_icon;
GList *cloud_provider_proxies;
guint provider_status;
#endif