forked from AuroraMiddleware/gtk
PlacesSidebar: Avoid unused mem if !CLOUDPROVIDERS
The member GList *cloud_rows is only ever used if HAVE_CLOUDPROVIDERS is defined, so don’t declare it if not.
This commit is contained in:
parent
94eecf57dc
commit
7178ab8e41
@ -125,9 +125,12 @@ struct _GtkPlacesSidebar {
|
||||
GtkWidget *new_bookmark_row;
|
||||
|
||||
GtkBookmarksManager *bookmarks_manager;
|
||||
|
||||
#ifdef HAVE_CLOUDPROVIDERS
|
||||
CloudProviders *cloud_manager;
|
||||
GList *cloud_rows;
|
||||
#endif
|
||||
|
||||
GVolumeMonitor *volume_monitor;
|
||||
GtkTrashMonitor *trash_monitor;
|
||||
GtkSettings *gtk_settings;
|
||||
@ -157,8 +160,6 @@ struct _GtkPlacesSidebar {
|
||||
DropState drop_state;
|
||||
GtkGesture *long_press_gesture;
|
||||
|
||||
GList *cloud_rows;
|
||||
|
||||
/* volume mounting - delayed open process */
|
||||
GtkPlacesOpenFlags go_to_after_mount_open_flags;
|
||||
GCancellable *cancellable;
|
||||
|
Loading…
Reference in New Issue
Block a user