/**
* SECTION:hildon-window
- * @short_description: Widget representing a top-level window in the Hildon framework.
+ * @short_description: Top-level window in the Hildon framework.
* @see_also: #HildonProgram, #HildonStackableWindow
*
- * #HildonWindow is a GTK widget which represents a top-level
+ * #HildonWindow is a top-level
* window in the Hildon framework. It is derived from #GtkWindow
* and provides additional commodities specific to the Hildon
* framework.
case HILDON_HARDKEY_ESC:
if (!priv->escape_timeout)
{
- priv->escape_timeout = g_timeout_add
+ priv->escape_timeout = gdk_threads_add_timeout
(HILDON_WINDOW_LONG_PRESS_TIME,
hildon_window_escape_timeout, widget);
}
g_assert (priv);
- GDK_THREADS_ENTER ();
-
/* Send fake event, simulation a situation that user
pressed 'x' from the corner */
event = gdk_event_new(GDK_DELETE);
priv->escape_timeout = 0;
- GDK_THREADS_LEAVE ();
-
return FALSE;
}