[gnome-games] Fix warning on exit with gtk 2.17
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games] Fix warning on exit with gtk 2.17
- Date: Wed, 26 Aug 2009 12:10:44 +0000 (UTC)
commit d9ccc1fca702b383425610c27793065f3a5dc3e2
Author: Christian Persch <chpe gnome org>
Date: Wed Aug 26 14:08:46 2009 +0200
Fix warning on exit with gtk 2.17
Use gdk_window_destroy() instead of g_object_unref() on a GdkWindow.
Bug #593031.
blackjack/src/blackjack.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/blackjack/src/blackjack.cpp b/blackjack/src/blackjack.cpp
index 80d21a2..365c52c 100644
--- a/blackjack/src/blackjack.cpp
+++ b/blackjack/src/blackjack.cpp
@@ -230,7 +230,7 @@ bj_quit_app (void)
bj_slot_free_pixmaps ();
g_object_unref (surface);
- g_object_unref (press_data->moving_cards);
+ gdk_window_destroy (press_data->moving_cards);
gtk_widget_destroy (toplevel_window);
gtk_main_quit ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]