commit 9a699ab9debabae9ba223c66418464713a8570d8
parent d00697d714887bbaa24190a20614c8330eafe34f
Author: Ricardo Mones <ricardo@mones.org>
Date: Sun, 31 Mar 2019 11:52:23 +0200
Fix segfault in gtkaspell's allocate_color()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gtk/gtkaspell.c b/src/gtk/gtkaspell.c
@@ -2266,7 +2266,7 @@ static void allocate_color(GtkAspell *gtkaspell, GdkRGBA rgba)
gtkaspell->highlight = rgba;
gtk_text_buffer_create_tag(buffer, "misspelled",
- "foreground-rgba", gtkaspell->highlight, NULL);
+ "foreground-rgba", &(gtkaspell->highlight), NULL);
}