summaryrefslogtreecommitdiff
path: root/src/ui/theme.c
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2010-10-25 20:44:30 +0200
committerFlorian Müllner <fmuellner@gnome.org>2010-10-28 12:16:14 +0200
commitb445ee3763b59c6e86697cf2ce1c70b46bced03c (patch)
treea4a35e4164dc0d42999d7e9b918b2211f9521f30 /src/ui/theme.c
parent95a7f0269a57b2b13b18681a145d201f999d3ebb (diff)
downloadmutter-b445ee3763b59c6e86697cf2ce1c70b46bced03c.tar.gz
Remove compatibility for GTK+-2.0
While the Meego developers agreed to switching mutter to GTK+-3.0 unconditionally a while ago, Canonical used a GTK+-2.0 build for their Unity project. As Canonical now announced a switch to compiz as their window manager, there is no longer a reason to maintain GTK+-2.0 compatibility. https://bugzilla.gnome.org/show_bug.cgi?id=633133
Diffstat (limited to 'src/ui/theme.c')
-rw-r--r--src/ui/theme.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 6514882a6..dac898a34 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -61,10 +61,6 @@
#include <stdlib.h>
#include <math.h>
-#include "gtk-compat.h"
-#include "gdk-compat.h"
-#include "gdk2-drawing-utils.h"
-
#define GDK_COLOR_RGBA(color) \
((guint32) (0xff | \
(((color).red / 256) << 24) | \
@@ -3712,7 +3708,7 @@ meta_draw_op_draw_with_env (const MetaDrawOp *op,
rwidth = parse_size_unchecked (op->data.gtk_arrow.width, env);
rheight = parse_size_unchecked (op->data.gtk_arrow.height, env);
- meta_paint_arrow (style_gtk,
+ gtk_paint_arrow (style_gtk,
cr,
op->data.gtk_arrow.state,
op->data.gtk_arrow.shadow,
@@ -3733,7 +3729,7 @@ meta_draw_op_draw_with_env (const MetaDrawOp *op,
rwidth = parse_size_unchecked (op->data.gtk_box.width, env);
rheight = parse_size_unchecked (op->data.gtk_box.height, env);
- meta_paint_box (style_gtk,
+ gtk_paint_box (style_gtk,
cr,
op->data.gtk_box.state,
op->data.gtk_box.shadow,
@@ -3751,7 +3747,7 @@ meta_draw_op_draw_with_env (const MetaDrawOp *op,
ry1 = parse_y_position_unchecked (op->data.gtk_vline.y1, env);
ry2 = parse_y_position_unchecked (op->data.gtk_vline.y2, env);
- meta_paint_vline (style_gtk,
+ gtk_paint_vline (style_gtk,
cr,
op->data.gtk_vline.state,
widget,