Fix build error and reduce the RPMLint warnings
[apps/native/widget/widget.git] / src / snapshot_window.c
index fd96018..aa06842 100644 (file)
@@ -21,8 +21,8 @@
 #include <unistd.h>
 
 #include <dlog.h>
-#include <widget_service.h>
 #include <widget_errno.h>
+#include <widget_service.h>
 
 #include "widget.h"
 #include "widget_internal.h"
@@ -432,7 +432,7 @@ PUBLIC void *widget_snapshot_window_add(const char *id, int size_type)
                return NULL;
        }
 
-       snapshot_win = elm_win_add(parent, "widget,Snapshot", ELM_WIN_TIZEN_WIDGET);
+       snapshot_win = elm_win_add(parent, "widget,Snapshot", ELM_WIN_FAKE); /* ELM_WIN_TIZEN_WIDGET */
        evas_object_del(parent);
        if (!snapshot_win) {
                destroy_virtual_canvas(e);