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;
|
GtkWidget *new_bookmark_row;
|
||||||
|
|
||||||
GtkBookmarksManager *bookmarks_manager;
|
GtkBookmarksManager *bookmarks_manager;
|
||||||
|
|
||||||
#ifdef HAVE_CLOUDPROVIDERS
|
#ifdef HAVE_CLOUDPROVIDERS
|
||||||
CloudProviders *cloud_manager;
|
CloudProviders *cloud_manager;
|
||||||
|
GList *cloud_rows;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
GVolumeMonitor *volume_monitor;
|
GVolumeMonitor *volume_monitor;
|
||||||
GtkTrashMonitor *trash_monitor;
|
GtkTrashMonitor *trash_monitor;
|
||||||
GtkSettings *gtk_settings;
|
GtkSettings *gtk_settings;
|
||||||
@ -157,8 +160,6 @@ struct _GtkPlacesSidebar {
|
|||||||
DropState drop_state;
|
DropState drop_state;
|
||||||
GtkGesture *long_press_gesture;
|
GtkGesture *long_press_gesture;
|
||||||
|
|
||||||
GList *cloud_rows;
|
|
||||||
|
|
||||||
/* volume mounting - delayed open process */
|
/* volume mounting - delayed open process */
|
||||||
GtkPlacesOpenFlags go_to_after_mount_open_flags;
|
GtkPlacesOpenFlags go_to_after_mount_open_flags;
|
||||||
GCancellable *cancellable;
|
GCancellable *cancellable;
|
||||||
|
Loading…
Reference in New Issue
Block a user