* Now it does not crash if we cannot get an uid from one of the
windows (should happen at least with main window, but also
with editors) (fixes NB#60430).
pmo-trunk-r2273
/* Get message uid from msg window */
msg_uid = modest_msg_view_window_get_message_uid (MODEST_MSG_VIEW_WINDOW (win));
/* Get message uid from msg window */
msg_uid = modest_msg_view_window_get_message_uid (MODEST_MSG_VIEW_WINDOW (win));
- if (msg_uid && !strcmp (msg_uid, uid))
+ if (msg_uid && uid &&!strcmp (msg_uid, uid))