[gtk+/gtk-3-14] GtkAboutDialog: Fix crash on link click
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] GtkAboutDialog: Fix crash on link click
- Date: Sat, 31 Jan 2015 19:27:11 +0000 (UTC)
commit 07b39b214023456170b7be3c9bf751ab38f682e9
Author: Christian Persch <chpe gnome org>
Date: Tue Jan 27 13:37:15 2015 +0100
GtkAboutDialog: Fix crash on link click
https://bugzilla.gnome.org/show_bug.cgi?id=743592
gtk/gtkaboutdialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index 99f6fe4..2982700 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -1926,7 +1926,7 @@ follow_if_link (GtkAboutDialog *about,
GtkStateFlags state = gtk_widget_get_state_flags (GTK_WIDGET (about));
gtk_style_context_get_color (context, state | GTK_STATE_FLAG_VISITED, &visited_link_color);
- g_object_set (G_OBJECT (tag), "foreground-rgba", visited_link_color, NULL);
+ g_object_set (G_OBJECT (tag), "foreground-rgba", &visited_link_color, NULL);
priv->visited_links = g_slist_prepend (priv->visited_links, g_strdup (uri));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]