[gnome-settings-daemon] media-keys: Invalidate region after connecting "draw"
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] media-keys: Invalidate region after connecting "draw"
- Date: Wed, 18 Apr 2012 15:32:05 +0000 (UTC)
commit 6f6f02dd65096aa08a6f6d91477cade851c13115
Author: Bastien Nocera <hadess hadess net>
Date: Tue Apr 17 18:39:04 2012 +0100
media-keys: Invalidate region after connecting "draw"
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 ee2e2f9..0d102d2 100644
--- a/plugins/media-keys/test-media-window-clutter.c
+++ b/plugins/media-keys/test-media-window-clutter.c
@@ -55,7 +55,6 @@ test_window (void)
actor = clutter_actor_new ();
clutter_actor_add_constraint (actor, clutter_bind_constraint_new (stage, CLUTTER_BIND_SIZE, 0));
clutter_actor_set_content (actor, canvas);
- clutter_content_invalidate (canvas);
g_object_unref (canvas);
clutter_actor_add_child (stage, actor);
@@ -67,6 +66,7 @@ test_window (void)
ctx.theme = gtk_icon_theme_get_default ();
g_signal_connect (canvas, "draw", G_CALLBACK (draw_box), &ctx);
+ clutter_content_invalidate (canvas);
g_signal_connect (stage, "destroy", G_CALLBACK (gtk_main_quit), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]