projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f52975c
)
Fix the build with clang
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 26 Apr 2023 21:54:43 +0000
(23:54 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 26 Apr 2023 21:54:43 +0000
(23:54 +0200)
This broke our macos ci.
gtk/gtkpathbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpathbar.c
b/gtk/gtkpathbar.c
index 41e61c20a5a7e5a19dd6f6228b13af722aa0ffd1..bdd4987b30b3a5ace51ab0be8f913635cda10054 100644
(file)
--- a/
gtk/gtkpathbar.c
+++ b/
gtk/gtkpathbar.c
@@
-418,13
+418,11
@@
set_button_image (GtkPathBar *path_bar,
ButtonData *button_data)
{
struct SetButtonImageData *data;
+ GIcon *root_icon = NULL;
switch (button_data->type)
{
case ROOT_BUTTON:
-
- GIcon *root_icon = NULL;
-
if (!button_data->mount && path_bar->root_icon != NULL &&
g_file_is_native (button_data->file))
{