More tuning for the pannable large lists kinetics.
[hildon] / hildon / hildon-program.c
index 47ead29..86e866c 100644 (file)
@@ -24,7 +24,7 @@
 
 /**
  * SECTION:hildon-program
- * @short_description: An object that represents an application running in the Hildon framework.
+ * @short_description: Application abstraction in the Hildon framework.
  * @see_also: #HildonWindow, #HildonStackableWindow
  *
  * #HildonProgram is an object used to represent an application running
@@ -357,7 +357,7 @@ hildon_program_update_top_most                  (HildonProgram *program)
       gdk_error_trap_push ();
       wm_hints = XGetWMHints (GDK_DISPLAY (), active_window);
       xerror = gdk_error_trap_pop ();
-      if (xerror)
+      if (xerror && xerror != BadWindow)
       {
         if (wm_hints)
           XFree (wm_hints);
@@ -593,8 +593,6 @@ hildon_program_get_can_hibernate                (HildonProgram *self)
  *
  * This method does not support #HildonAppMenu<!-- -->s. See
  * hildon_program_set_common_app_menu() for that.
- *
- * Since: 2.2
  **/
 void
 hildon_program_set_common_menu                  (HildonProgram *self,