[gnome-settings-daemon] media-keys: Use clutter_get_default_text_direction()



commit 0c59eeb5703fd3ebf29b928524743b386c1d93c0
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Apr 17 18:39:32 2012 +0100

    media-keys: Use clutter_get_default_text_direction()
    
    Instead of the GTK+ equivalent.

 plugins/media-keys/test-media-window-clutter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/media-keys/test-media-window-clutter.c b/plugins/media-keys/test-media-window-clutter.c
index 0d102d2..e225742 100644
--- a/plugins/media-keys/test-media-window-clutter.c
+++ b/plugins/media-keys/test-media-window-clutter.c
@@ -62,7 +62,7 @@ test_window (void)
   memset (&ctx, 0, sizeof(ctx));
   widget = gsd_osd_window_new ();
   ctx.style = gtk_widget_get_style_context (widget);
-  ctx.direction = gtk_widget_get_direction (GTK_WIDGET (widget));;
+  ctx.direction = clutter_get_default_text_direction ();
   ctx.theme = gtk_icon_theme_get_default ();
 
   g_signal_connect (canvas, "draw", G_CALLBACK (draw_box), &ctx);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]