aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/gui_utils.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-01-04 17:07:26 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-01-04 17:07:26 +0000
commitd9d58c34f298a0c3340bfb01976ffe0c7a49c317 (patch)
treeb16578a07fdd3acaff62dd0204d2f9f97b885c53 /ui/gtk/gui_utils.h
parent886ac9a613b48746c2a9f389de96a92a4b3ffcb6 (diff)
Add a wrapper for gdk_cairo_set_source_rgba() in GTK2 and use it in io_stat.c
svn path=/trunk/; revision=46932
Diffstat (limited to 'ui/gtk/gui_utils.h')
-rw-r--r--ui/gtk/gui_utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/gtk/gui_utils.h b/ui/gtk/gui_utils.h
index a17b78a4eb..8c14f49dfd 100644
--- a/ui/gtk/gui_utils.h
+++ b/ui/gtk/gui_utils.h
@@ -530,10 +530,18 @@ GdkPixbuf *gdk_pixbuf_get_from_surface (cairo_surface_t *surface,
GtkWidget * ws_gtk_box_new(GtkOrientation orientation, gint spacing, gboolean homogeneous);
#if !GTK_CHECK_VERSION(3,0,0)
+typedef struct {
+ gdouble red;
+ gdouble green;
+ gdouble blue;
+ gdouble alpha;
+} GdkRGBA;
+
GtkWidget * gtk_button_box_new(GtkOrientation orientation);
GtkWidget * gtk_scrollbar_new(GtkOrientation orientation, GtkAdjustment *adjustment);
GtkWidget * gtk_paned_new(GtkOrientation orientation);
GtkWidget * gtk_separator_new (GtkOrientation orientation);
+void gdk_cairo_set_source_rgba(cairo_t *cr, const GdkRGBA *rgba);
#endif /* GTK_CHECK_VERSION(3,0,0) */