-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
63 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
modulesets/patches/gtk-3-24-36-image-recolor-load-crash.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From 40bcba64548bb29b6a6209030eeb06bf13ca98f9 Mon Sep 17 00:00:00 2001 | ||
From: John Ralls <[email protected]> | ||
Date: Fri, 23 Dec 2022 13:27:50 -0800 | ||
Subject: [PATCH] Don't rely on gtk_icon_info_load_symbolic to set a GError. | ||
|
||
--- | ||
gtk/gtkcssimagerecolor.c | 7 ++++++- | ||
1 file changed, 6 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/gtk/gtkcssimagerecolor.c b/gtk/gtkcssimagerecolor.c | ||
index 1c38654cfa..db7d08f008 100644 | ||
--- a/gtk/gtkcssimagerecolor.c | ||
+++ b/gtk/gtkcssimagerecolor.c | ||
@@ -125,12 +125,17 @@ gtk_css_image_recolor_load (GtkCssImageRecolor *recolor, | ||
if (gerror) | ||
{ | ||
char *uri; | ||
+ char *msg; | ||
+ if (local_error && local_error->message) | ||
+ msg = local_error->message; | ||
+ else | ||
+ msg = "gtk_icon_info_load_symbolic did not set the passed-in GError."; | ||
|
||
uri = g_file_get_uri (url->file); | ||
g_set_error (gerror, | ||
GTK_CSS_PROVIDER_ERROR, | ||
GTK_CSS_PROVIDER_ERROR_FAILED, | ||
- "Error loading image '%s': %s", uri, local_error->message); | ||
+ "Error loading image '%s': %s", uri, msg); | ||
g_error_free (local_error); | ||
g_free (uri); | ||
} | ||
-- | ||
2.37.1 (Apple Git-137.1) | ||
|
46 changes: 0 additions & 46 deletions
46
modulesets/patches/gtk-3.24.33-quartz-window-transient-for.patch
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
modulesets/patches/gtk-3.24.33-remove-gtk4-update-icon-cache-dependency.patch
This file was deleted.
Oops, something went wrong.