From 755bcedaed5ff068952b74c55369342a561c5a4b Mon Sep 17 00:00:00 2001 From: Photon89 Date: Fri, 24 Apr 2026 23:42:35 +0200 Subject: [PATCH] Fixed .xpm cursor files to work with new glycin version --- share/shutter/resources/icons/drawing_tool/cursor/arrow | 2 +- share/shutter/resources/icons/drawing_tool/cursor/censor | 2 +- share/shutter/resources/icons/drawing_tool/cursor/ellipse | 2 +- share/shutter/resources/icons/drawing_tool/cursor/freehand | 2 +- share/shutter/resources/icons/drawing_tool/cursor/line | 4 ++-- share/shutter/resources/icons/drawing_tool/cursor/number | 2 +- share/shutter/resources/icons/drawing_tool/cursor/rect | 2 +- share/shutter/resources/icons/drawing_tool/cursor/text | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/share/shutter/resources/icons/drawing_tool/cursor/arrow b/share/shutter/resources/icons/drawing_tool/cursor/arrow index f4c498b68..d4c1e1177 100644 --- a/share/shutter/resources/icons/drawing_tool/cursor/arrow +++ b/share/shutter/resources/icons/drawing_tool/cursor/arrow @@ -1,5 +1,5 @@ /* XPM */ -static char const *arrow[] = { +static char *arrow[] = { "32 32 3 1 4 4", " c None", ". c #FFFFFF", diff --git a/share/shutter/resources/icons/drawing_tool/cursor/censor b/share/shutter/resources/icons/drawing_tool/cursor/censor index d37fa7800..1d790a58c 100644 --- a/share/shutter/resources/icons/drawing_tool/cursor/censor +++ b/share/shutter/resources/icons/drawing_tool/cursor/censor @@ -1,5 +1,5 @@ /* XPM */ -static char const *censor[] = { +static char *censor[] = { "32 32 3 1 4 4", " c None", ". c #FFFFFF", diff --git a/share/shutter/resources/icons/drawing_tool/cursor/ellipse b/share/shutter/resources/icons/drawing_tool/cursor/ellipse index 742918824..8cf675e56 100644 --- a/share/shutter/resources/icons/drawing_tool/cursor/ellipse +++ b/share/shutter/resources/icons/drawing_tool/cursor/ellipse @@ -1,5 +1,5 @@ /* XPM */ -static char const *ellipse[] = { +static char *ellipse[] = { "32 32 3 1 4 4", " c None", ". c #FFFFFF", diff --git a/share/shutter/resources/icons/drawing_tool/cursor/freehand b/share/shutter/resources/icons/drawing_tool/cursor/freehand index 031d5e825..ef0378cb0 100644 --- a/share/shutter/resources/icons/drawing_tool/cursor/freehand +++ b/share/shutter/resources/icons/drawing_tool/cursor/freehand @@ -1,5 +1,5 @@ /* XPM */ -static char const *freehand[] = { +static char *freehand[] = { "32 32 3 1 4 4", " c None", ". c #FFFFFF", diff --git a/share/shutter/resources/icons/drawing_tool/cursor/line b/share/shutter/resources/icons/drawing_tool/cursor/line index bc322fedd..bbdc6e6f5 100644 --- a/share/shutter/resources/icons/drawing_tool/cursor/line +++ b/share/shutter/resources/icons/drawing_tool/cursor/line @@ -1,5 +1,5 @@ /* XPM */ -static char const *line[] = { +static char *line[] = { "32 32 3 1 4 4", " c None", ". c #FFFFFF", @@ -12,7 +12,7 @@ static char const *line[] = { "....+.... ", " .+. ", " .+. ", -" ... . ", +" ... . ", " + ", " .+ +. ", " .+...+. ", diff --git a/share/shutter/resources/icons/drawing_tool/cursor/number b/share/shutter/resources/icons/drawing_tool/cursor/number index 7d6b66401..061f27943 100644 --- a/share/shutter/resources/icons/drawing_tool/cursor/number +++ b/share/shutter/resources/icons/drawing_tool/cursor/number @@ -1,5 +1,5 @@ /* XPM */ -static char const *number[] = { +static char *number[] = { "32 32 3 1 7 7", " c None", ". c #FFFFFF", diff --git a/share/shutter/resources/icons/drawing_tool/cursor/rect b/share/shutter/resources/icons/drawing_tool/cursor/rect index 7a7febb1a..74ed4d901 100644 --- a/share/shutter/resources/icons/drawing_tool/cursor/rect +++ b/share/shutter/resources/icons/drawing_tool/cursor/rect @@ -1,5 +1,5 @@ /* XPM */ -static char const *rect[] = { +static char *rect[] = { "32 32 3 1 4 4", " c None", ". c #FFFFFF", diff --git a/share/shutter/resources/icons/drawing_tool/cursor/text b/share/shutter/resources/icons/drawing_tool/cursor/text index 6fd139e10..25c24aaf8 100644 --- a/share/shutter/resources/icons/drawing_tool/cursor/text +++ b/share/shutter/resources/icons/drawing_tool/cursor/text @@ -1,5 +1,5 @@ /* XPM */ -static char const *text[] = { +static char *text[] = { "32 32 3 1 7 7", " c None", ". c #FFFFFF",