Skip to content

Commit

Permalink
Fix confusing NEMO_LIST_ICON_SIZE_ definitions (#3407)
Browse files Browse the repository at this point in the history
  • Loading branch information
30350n authored May 30, 2024
1 parent 37571e9 commit 4e7196b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions libnemo-private/nemo-icon-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -665,17 +665,17 @@ nemo_get_list_icon_size_for_zoom_level (NemoZoomLevel zoom_level)
case NEMO_ZOOM_LEVEL_SMALLEST:
return NEMO_LIST_ICON_SIZE_SMALLEST;
case NEMO_ZOOM_LEVEL_SMALLER:
return NEMO_LIST_ICON_SIZE_SMALLEST;
case NEMO_ZOOM_LEVEL_SMALL:
return NEMO_LIST_ICON_SIZE_SMALLER;
case NEMO_ZOOM_LEVEL_STANDARD:
case NEMO_ZOOM_LEVEL_SMALL:
return NEMO_LIST_ICON_SIZE_SMALL;
case NEMO_ZOOM_LEVEL_LARGE:
case NEMO_ZOOM_LEVEL_STANDARD:
return NEMO_LIST_ICON_SIZE_STANDARD;
case NEMO_ZOOM_LEVEL_LARGER:
case NEMO_ZOOM_LEVEL_LARGE:
return NEMO_LIST_ICON_SIZE_LARGE;
case NEMO_ZOOM_LEVEL_LARGEST:
case NEMO_ZOOM_LEVEL_LARGER:
return NEMO_LIST_ICON_SIZE_LARGER;
case NEMO_ZOOM_LEVEL_LARGEST:
return NEMO_LIST_ICON_SIZE_LARGEST;
case NEMO_ZOOM_LEVEL_NULL:
default:
g_return_val_if_reached (NEMO_ICON_SIZE_STANDARD);
Expand Down
12 changes: 6 additions & 6 deletions libnemo-private/nemo-icon-info.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ typedef enum {
#define NEMO_COMPACT_FORCED_ICON_SIZE 16

#define NEMO_LIST_ICON_SIZE_SMALLEST 16
#define NEMO_LIST_ICON_SIZE_SMALLER 24
#define NEMO_LIST_ICON_SIZE_SMALL 32
#define NEMO_LIST_ICON_SIZE_STANDARD 48
#define NEMO_LIST_ICON_SIZE_LARGE 72
#define NEMO_LIST_ICON_SIZE_LARGER 96
#define NEMO_LIST_ICON_SIZE_LARGEST 192
#define NEMO_LIST_ICON_SIZE_SMALLER 16
#define NEMO_LIST_ICON_SIZE_SMALL 24
#define NEMO_LIST_ICON_SIZE_STANDARD 32
#define NEMO_LIST_ICON_SIZE_LARGE 48
#define NEMO_LIST_ICON_SIZE_LARGER 72
#define NEMO_LIST_ICON_SIZE_LARGEST 96

#define NEMO_ICON_SIZE_SMALLEST 24
#define NEMO_ICON_SIZE_SMALLER 32
Expand Down

0 comments on commit 4e7196b

Please sign in to comment.