gnome-games r8307 - trunk/blackjack/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8307 - trunk/blackjack/src
- Date: Mon, 10 Nov 2008 14:52:54 +0000 (UTC)
Author: chpe
Date: Mon Nov 10 14:52:53 2008
New Revision: 8307
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8307&view=rev
Log:
The window-state-event callback needs to return gboolean, not void. [2-24-candidate]
Modified:
trunk/blackjack/src/blackjack.cpp
Modified: trunk/blackjack/src/blackjack.cpp
==============================================================================
--- trunk/blackjack/src/blackjack.cpp (original)
+++ trunk/blackjack/src/blackjack.cpp Mon Nov 10 14:52:53 2008
@@ -179,12 +179,13 @@
}
/* Just in case something else takes us to/from fullscreen. */
-static void
+static gboolean
window_state_cb (GtkWidget *widget, GdkEventWindowState *event)
{
if (event->changed_mask & GDK_WINDOW_STATE_FULLSCREEN)
set_fullscreen_actions (event->new_window_state &
GDK_WINDOW_STATE_FULLSCREEN);
+ return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]