#include "modest-tny-platform-factory.h"
#include "modest-runtime.h"
#include "modest-window-mgr.h"
+#include "modest-defs.h"
#include <string.h> /* for strcmp */
#include <gdk/gdkkeysyms.h>
(GInstanceInitFunc) modest_window_init,
NULL
};
-#ifdef MODEST_PLATFORM_MAEMO
+#ifndef MODEST_TOOLKIT_GTK
parent_type = HILDON_TYPE_WINDOW;
#else
parent_type = GTK_TYPE_WINDOW;
case GDK_Escape:
if (modest_window_mgr_get_fullscreen_mode (mgr))
modest_ui_actions_on_change_fullscreen (NULL, MODEST_WINDOW(self));
- else if (MODEST_IS_MSG_VIEW_WINDOW (self)||MODEST_IS_MSG_EDIT_WINDOW (self))
+ else if (MODEST_IS_MSG_VIEW_WINDOW (self))
modest_ui_actions_on_close_window (NULL, MODEST_WINDOW (self));
break;
}