[gtk+/gtk-style-context: 160/251] GtkThemingEngine: Add gtk_theming_engine_get_junction_sides().
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 160/251] GtkThemingEngine: Add gtk_theming_engine_get_junction_sides().
- Date: Tue, 12 Oct 2010 02:08:34 +0000 (UTC)
commit a5c63d32630ded31f5beffd7411cf8f519ae41aa
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Aug 3 20:36:09 2010 +0200
GtkThemingEngine: Add gtk_theming_engine_get_junction_sides().
gtk/gtkthemingengine.c | 11 +++++++++++
gtk/gtkthemingengine.h | 2 ++
2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index e873c88..f162b31 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -358,6 +358,17 @@ gtk_theming_engine_get_direction (GtkThemingEngine *engine)
return gtk_style_context_get_direction (priv->context);
}
+GtkJunctionSides
+gtk_theming_engine_get_junction_sides (GtkThemingEngine *engine)
+{
+ GtkThemingEnginePrivate *priv;
+
+ g_return_val_if_fail (GTK_IS_THEMING_ENGINE (engine), 0);
+
+ priv = engine->priv;
+ return gtk_style_context_get_junction_sides (priv->context);
+}
+
/* GtkThemingModule */
static gboolean
diff --git a/gtk/gtkthemingengine.h b/gtk/gtkthemingengine.h
index b021d97..1191d5a 100644
--- a/gtk/gtkthemingengine.h
+++ b/gtk/gtkthemingengine.h
@@ -173,6 +173,8 @@ gboolean gtk_theming_engine_is_state_set (GtkThemingEngine *engine,
GtkTextDirection gtk_theming_engine_get_direction (GtkThemingEngine *engine);
+GtkJunctionSides gtk_theming_engine_get_junction_sides (GtkThemingEngine *engine);
+
G_CONST_RETURN GtkThemingEngine * gtk_theming_engine_load (const gchar *name);
GdkScreen * gtk_theming_engine_get_screen (GtkThemingEngine *engine);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]