[gnome-games/gnibbles-clutter] Removed clutter_actor_show (stage)
- From: Guillaume Béland <guillaubel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games/gnibbles-clutter] Removed clutter_actor_show (stage)
- Date: Tue, 4 Aug 2009 18:44:37 +0000 (UTC)
commit 1bcacf76f89d5add539e6f0ee50c96fffa40052a
Author: Guillaume Beland <guillaume beland gmail com>
Date: Tue Aug 4 14:43:28 2009 -0400
Removed clutter_actor_show (stage)
I can't believe that was the thing causing all this trouble
gnibbles/main.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gnibbles/main.c b/gnibbles/main.c
index 6192360..94c5605 100644
--- a/gnibbles/main.c
+++ b/gnibbles/main.c
@@ -812,7 +812,6 @@ setup_window ()
properties->tilesize * BOARDWIDTH,
properties->tilesize * BOARDHEIGHT);
clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), FALSE);
- clutter_actor_show (stage);
board = gnibbles_board_new ();
@@ -850,18 +849,18 @@ setup_window ()
gtk_box_pack_start (GTK_BOX (vbox), packing, TRUE, TRUE, 0);
gtk_widget_show (packing);
-
gtk_container_add (GTK_CONTAINER (packing), clutter_widget);
+
#ifdef GGZ_CLIENT
chat = create_chat_widget ();
gtk_box_pack_start (GTK_BOX (vbox), chat, FALSE, TRUE, 0);
#endif
g_signal_connect (G_OBJECT (clutter_widget), "configure_event",
- G_CALLBACK (configure_event_cb), NULL);
+ G_CALLBACK (configure_event_cb), NULL);
g_signal_connect (G_OBJECT (window), "focus_out_event",
- G_CALLBACK (show_cursor_cb), NULL);
+ G_CALLBACK (show_cursor_cb), NULL);
main_vbox = gtk_vbox_new (FALSE, 0);
gtk_box_pack_start (GTK_BOX (main_vbox), notebook, TRUE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]