[gedit-plugins] Use GdkRGBA.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] Use GdkRGBA.
- Date: Thu, 23 Dec 2010 14:29:15 +0000 (UTC)
commit adbe5de2a30b198e2e2db213d21276855fa86558
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Thu Dec 23 15:28:57 2010 +0100
Use GdkRGBA.
plugins/bookmarks/gedit-bookmarks-plugin.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/bookmarks/gedit-bookmarks-plugin.c b/plugins/bookmarks/gedit-bookmarks-plugin.c
index 97626ae..0d0ea69 100644
--- a/plugins/bookmarks/gedit-bookmarks-plugin.c
+++ b/plugins/bookmarks/gedit-bookmarks-plugin.c
@@ -333,9 +333,9 @@ update_background_color (GtkSourceMarkCategory *category, GtkSourceBuffer *buffe
if (bgset)
{
- GdkColor color;
+ GdkRGBA color;
- gdk_color_parse (bg, &color);
+ gdk_rgba_parse (&color, bg);
gtk_source_mark_category_set_background (category, &color);
g_free (bg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]