messages if modest is not built for showing debug.
34 files changed:
g_object_unref (account);
if (!msg) {
g_object_unref (account);
if (!msg) {
- g_warning ("%s: Could not find message '%s'", __FUNCTION__, uri);
+ g_debug ("%s: Could not find message '%s'", __FUNCTION__, uri);
g_idle_add (notify_error_in_dbus_callback, NULL);
g_free (uri);
return FALSE;
g_idle_add (notify_error_in_dbus_callback, NULL);
g_free (uri);
return FALSE;
folder = tny_msg_get_folder (msg);
if (!folder) {
folder = tny_msg_get_folder (msg);
if (!folder) {
- g_warning ("%s: Could not find folder (uri:'%s')", __FUNCTION__, uri);
+ g_debug ("%s: Could not find folder (uri:'%s')", __FUNCTION__, uri);
g_object_unref (msg);
g_idle_add (notify_error_in_dbus_callback, NULL);
g_free (uri);
g_object_unref (msg);
g_idle_add (notify_error_in_dbus_callback, NULL);
g_free (uri);
void
modest_address_book_add_address (const gchar *address)
{
void
modest_address_book_add_address (const gchar *address)
{
- g_message (__FUNCTION__);
+ g_debug (__FUNCTION__);
}
void
modest_address_book_select_addresses (ModestRecptEditor *editor,
GtkWindow *parent_window)
{
}
void
modest_address_book_select_addresses (ModestRecptEditor *editor,
GtkWindow *parent_window)
{
- g_message (__FUNCTION__);
+ g_debug (__FUNCTION__);
}
gboolean
modest_address_book_check_names (ModestRecptEditor *editor, gboolean update_addressbook)
{
}
gboolean
modest_address_book_check_names (ModestRecptEditor *editor, gboolean update_addressbook)
{
- g_message (__FUNCTION__);
+ g_debug (__FUNCTION__);
return TRUE;
}
gboolean
modest_address_book_has_address (const gchar *address)
{
return TRUE;
}
gboolean
modest_address_book_has_address (const gchar *address)
{
- g_message (__FUNCTION__);
+ g_debug (__FUNCTION__);
void
modest_main_window_notify_send_receive_initied (ModestMainWindow *self)
{
void
modest_main_window_notify_send_receive_initied (ModestMainWindow *self)
{
- g_message("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning("NOT IMPLEMENTED %s", __FUNCTION__);
}
void
modest_main_window_notify_send_receive_completed (ModestMainWindow *self)
{
}
void
modest_main_window_notify_send_receive_completed (ModestMainWindow *self)
{
- g_message("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning("NOT IMPLEMENTED %s", __FUNCTION__);
}
gboolean
modest_main_window_transfer_mode_enabled (ModestMainWindow *self)
{
}
gboolean
modest_main_window_transfer_mode_enabled (ModestMainWindow *self)
{
- g_message("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning("NOT IMPLEMENTED %s", __FUNCTION__);
GtkTreeRowReference *row_reference,
ModestMainWindow *self)
{
GtkTreeRowReference *row_reference,
ModestMainWindow *self)
{
- g_message("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning("NOT IMPLEMENTED %s", __FUNCTION__);
return FALSE;
}
gboolean
modest_main_window_screen_is_on (ModestMainWindow *self)
{
return FALSE;
}
gboolean
modest_main_window_screen_is_on (ModestMainWindow *self)
{
- g_message("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning("NOT IMPLEMENTED %s", __FUNCTION__);
case MODEST_MSG_EDIT_FORMAT_TEXT:
break;
case MODEST_MSG_EDIT_FORMAT_HTML:
case MODEST_MSG_EDIT_FORMAT_TEXT:
break;
case MODEST_MSG_EDIT_FORMAT_HTML:
- g_message ("HTML format not supported in Gnome ModestMsgEditWindow");
+ g_warning ("HTML format not supported in Gnome ModestMsgEditWindow");
{
g_return_if_fail (MODEST_MSG_EDIT_WINDOW (window));
{
g_return_if_fail (MODEST_MSG_EDIT_WINDOW (window));
- g_message ("Select color operation is not supported");
+ g_warning ("Select color operation is not supported");
{
g_return_if_fail (MODEST_MSG_EDIT_WINDOW (window));
{
g_return_if_fail (MODEST_MSG_EDIT_WINDOW (window));
- g_message ("Select file format operation is not supported");
+ g_warning ("Select file format operation is not supported");
{
g_return_if_fail (MODEST_MSG_EDIT_WINDOW (window));
{
g_return_if_fail (MODEST_MSG_EDIT_WINDOW (window));
- g_message ("Select font operation is not supported");
+ g_warning ("Select font operation is not supported");
{
g_return_if_fail (MODEST_MSG_EDIT_WINDOW (window));
{
g_return_if_fail (MODEST_MSG_EDIT_WINDOW (window));
- g_message ("Select background color operation is not supported");
+ g_warning ("Select background color operation is not supported");
{
g_return_if_fail (MODEST_MSG_EDIT_WINDOW (window));
{
g_return_if_fail (MODEST_MSG_EDIT_WINDOW (window));
- g_message ("Insert image operation is not supported");
+ g_warning ("Insert image operation is not supported");
{
g_return_if_fail (MODEST_MSG_EDIT_WINDOW (window));
{
g_return_if_fail (MODEST_MSG_EDIT_WINDOW (window));
- g_message ("Attach file operation is not supported");
+ g_warning ("Attach file operation is not supported");
{
g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
{
g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
- g_message ("not implemented yet %s", __FUNCTION__);
+ g_warning ("not implemented yet %s", __FUNCTION__);
}
void
modest_msg_edit_window_show_bcc (ModestMsgEditWindow *window,
}
void
modest_msg_edit_window_show_bcc (ModestMsgEditWindow *window,
{
g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
{
g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
- g_message ("not implemented yet %s", __FUNCTION__);
+ g_warning ("not implemented yet %s", __FUNCTION__);
}
void
modest_msg_edit_window_undo (ModestMsgEditWindow *window)
{
g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
}
void
modest_msg_edit_window_undo (ModestMsgEditWindow *window)
{
g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
- g_message ("not implemented yet %s", __FUNCTION__);
+ g_warning ("not implemented yet %s", __FUNCTION__);
}
void
modest_msg_edit_window_toggle_fullscreen (ModestMsgEditWindow *window)
{
g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
}
void
modest_msg_edit_window_toggle_fullscreen (ModestMsgEditWindow *window)
{
g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
- g_message ("not implemented yet %s", __FUNCTION__);
+ g_warning ("not implemented yet %s", __FUNCTION__);
}
void
modest_msg_edit_window_set_priority_flags (ModestMsgEditWindow *window,
}
void
modest_msg_edit_window_set_priority_flags (ModestMsgEditWindow *window,
{
g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
{
g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
- g_message ("not implemented yet %s", __FUNCTION__);
+ g_warning ("not implemented yet %s", __FUNCTION__);
{
g_return_val_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window), FALSE);
{
g_return_val_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window), FALSE);
- g_message ("not implemented yet %s", __FUNCTION__);
+ g_warning ("not implemented yet %s", __FUNCTION__);
{
g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
{
g_return_if_fail (MODEST_IS_MSG_EDIT_WINDOW (window));
- g_message ("not implemented yet %s", __FUNCTION__);
+ g_warning ("not implemented yet %s", __FUNCTION__);
modest_msg_edit_window_toggle_find_toolbar (ModestMsgEditWindow *window,
gboolean show)
{
modest_msg_edit_window_toggle_find_toolbar (ModestMsgEditWindow *window,
gboolean show)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
void
modest_msg_edit_window_redo (ModestMsgEditWindow *window)
{
void
modest_msg_edit_window_redo (ModestMsgEditWindow *window)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
const gchar *
modest_msg_edit_window_get_clipboard_text (ModestMsgEditWindow *win)
{
const gchar *
modest_msg_edit_window_get_clipboard_text (ModestMsgEditWindow *win)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
/* Currently we simply redirect to new constructor. It should store a
reference to the header list model, to enable next/prev message
actions */
/* Currently we simply redirect to new constructor. It should store a
reference to the header list model, to enable next/prev message
actions */
- g_message ("partially implemented %s", __FUNCTION__);
+ g_debug ("partially implemented %s", __FUNCTION__);
return modest_msg_view_window_new_for_attachment (msg, modest_account_name, NULL, msg_uid);
}
return modest_msg_view_window_new_for_attachment (msg, modest_account_name, NULL, msg_uid);
}
gboolean
modest_msg_view_window_select_next_message (ModestMsgViewWindow *window)
{
gboolean
modest_msg_view_window_select_next_message (ModestMsgViewWindow *window)
{
- g_message ("not implemented %s", __FUNCTION__);
+ g_warning ("not implemented %s", __FUNCTION__);
return FALSE;
}
gboolean
modest_msg_view_window_select_previous_message (ModestMsgViewWindow *window)
{
return FALSE;
}
gboolean
modest_msg_view_window_select_previous_message (ModestMsgViewWindow *window)
{
- g_message ("not implemented %s", __FUNCTION__);
+ g_warning ("not implemented %s", __FUNCTION__);
return FALSE;
}
void
modest_msg_view_window_view_attachment (ModestMsgViewWindow *window, TnyMimePart *mime_part)
{
return FALSE;
}
void
modest_msg_view_window_view_attachment (ModestMsgViewWindow *window, TnyMimePart *mime_part)
{
- g_message ("not implemented %s", __FUNCTION__);
+ g_warning ("not implemented %s", __FUNCTION__);
}
void
modest_msg_view_window_save_attachments (ModestMsgViewWindow *window, TnyList *mime_parts)
{
}
void
modest_msg_view_window_save_attachments (ModestMsgViewWindow *window, TnyList *mime_parts)
{
- g_message ("not implemented %s", __FUNCTION__);
+ g_warning ("not implemented %s", __FUNCTION__);
}
void
modest_msg_view_window_remove_attachments (ModestMsgViewWindow *window, gboolean get_all)
{
}
void
modest_msg_view_window_remove_attachments (ModestMsgViewWindow *window, gboolean get_all)
{
- g_message ("not implemented %s", __FUNCTION__);
+ g_warning ("not implemented %s", __FUNCTION__);
gboolean
modest_msg_view_window_last_message_selected (ModestMsgViewWindow *window)
{
gboolean
modest_msg_view_window_last_message_selected (ModestMsgViewWindow *window)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
return TRUE;
}
gboolean
modest_msg_view_window_first_message_selected (ModestMsgViewWindow *window)
{
return TRUE;
}
gboolean
modest_msg_view_window_first_message_selected (ModestMsgViewWindow *window)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
return TRUE;
}
gboolean
modest_msg_view_window_transfer_mode_enabled (ModestMsgViewWindow *self)
{
return TRUE;
}
gboolean
modest_msg_view_window_transfer_mode_enabled (ModestMsgViewWindow *self)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
return FALSE;
}
gboolean
modest_msg_view_window_toolbar_on_transfer_mode (ModestMsgViewWindow *self)
{
return FALSE;
}
gboolean
modest_msg_view_window_toolbar_on_transfer_mode (ModestMsgViewWindow *self)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
TnyList *result;
result = tny_simple_list_new ();
TnyList *result;
result = tny_simple_list_new ();
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
return result;
}
gboolean
modest_msg_view_window_is_search_result (ModestMsgViewWindow *window)
{
return result;
}
gboolean
modest_msg_view_window_is_search_result (ModestMsgViewWindow *window)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
return FALSE;
}
gboolean
modest_msg_view_window_has_headers_model (ModestMsgViewWindow *window)
{
return FALSE;
}
gboolean
modest_msg_view_window_has_headers_model (ModestMsgViewWindow *window)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
modest_msg_view_window_toggle_find_toolbar (GtkToggleAction *toggle,
gpointer data)
{
modest_msg_view_window_toggle_find_toolbar (GtkToggleAction *toggle,
gpointer data)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
gboolean
modest_platform_activate_uri (const gchar *uri)
{
gboolean
modest_platform_activate_uri (const gchar *uri)
{
- g_message ("NOT IMPLEMENTED");;
+ g_warning ("NOT IMPLEMENTED");;
return FALSE;
}
gboolean
modest_platform_activate_file (const gchar *path, const gchar *mime_type)
{
return FALSE;
}
gboolean
modest_platform_activate_file (const gchar *path, const gchar *mime_type)
{
- g_message ("NOT IMPLEMENTED");;
+ g_warning ("NOT IMPLEMENTED");;
return FALSE;
}
gboolean
modest_platform_show_uri_popup (const gchar *uri)
{
return FALSE;
}
gboolean
modest_platform_show_uri_popup (const gchar *uri)
{
- g_message ("NOT IMPLEMENTED");;
+ g_warning ("NOT IMPLEMENTED");;
const gchar *icon_name,
const gchar *text)
{
const gchar *icon_name,
const gchar *text)
{
- g_message ("NOT IMPLEMENTED");;
+ g_warning ("NOT IMPLEMENTED");;
const gchar *text,
gint timeout)
{
const gchar *text,
gint timeout)
{
- g_message ("NOT IMPLEMENTED");;
+ g_warning ("NOT IMPLEMENTED");;
const gchar *icon_name,
const gchar *text)
{
const gchar *icon_name,
const gchar *text)
{
- g_message ("NOT IMPLEMENTED");
+ g_warning ("NOT IMPLEMENTED");
void
modest_platform_show_search_messages (GtkWindow *parent_window)
{
void
modest_platform_show_search_messages (GtkWindow *parent_window)
{
- g_message ("NOT IMPLEMENTED");;
+ g_warning ("NOT IMPLEMENTED");;
void
modest_platform_remove_new_mail_notifications (gboolean only_visuals)
{
void
modest_platform_remove_new_mail_notifications (gboolean only_visuals)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
}
gboolean
modest_platform_check_and_wait_for_account_is_online(TnyAccount *account)
{
}
gboolean
modest_platform_check_and_wait_for_account_is_online(TnyAccount *account)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
modest_platform_run_certificate_confirmation_dialog (const gchar* server_name,
const gchar *certificate)
{
modest_platform_run_certificate_confirmation_dialog (const gchar* server_name,
const gchar *certificate)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
const gchar *suggested_name,
gchar **folder_name)
{
const gchar *suggested_name,
gchar **folder_name)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
return GTK_RESPONSE_CANCEL;
}
void
modest_platform_show_addressbook (GtkWindow *parent_window)
{
return GTK_RESPONSE_CANCEL;
}
void
modest_platform_show_addressbook (GtkWindow *parent_window)
{
- g_message ("NOT IMPLEMENTED %s", __FUNCTION__);
+ g_warning ("NOT IMPLEMENTED %s", __FUNCTION__);
priv->settings);
g_list_free (wizard_pages);
} else {
priv->settings);
g_list_free (wizard_pages);
} else {
- g_warning ("The selected protocol is a plugin protocol "//
- "but it's not a ModestAccountProtocol");
+ g_debug ("The selected protocol is a plugin protocol "//
+ "but it's not a ModestAccountProtocol");
/* some extra #defines, so it will compile with the 'normal' gtk */
#ifndef MODEST_HAVE_HILDON_GTK
#define hildon_gtk_entry_set_input_mode(a,b) \
/* some extra #defines, so it will compile with the 'normal' gtk */
#ifndef MODEST_HAVE_HILDON_GTK
#define hildon_gtk_entry_set_input_mode(a,b) \
- g_warning ("%s: hildon_gtk_entry_set_input_mode requires gtk-hildon", __FUNCTION__)
+ g_debug ("%s: hildon_gtk_entry_set_input_mode requires gtk-hildon", __FUNCTION__)
#define hildon_gtk_text_view_set_input_mode(a,b) \
#define hildon_gtk_text_view_set_input_mode(a,b) \
- g_warning ("%s: hildon_gtk_text_view_set_input_mode requires gtk-hildon", __FUNCTION__)
+ g_debug ("%s: hildon_gtk_text_view_set_input_mode requires gtk-hildon", __FUNCTION__)
#define gtk_widget_tap_and_hold_setup(a,b,c,d) \
#define gtk_widget_tap_and_hold_setup(a,b,c,d) \
- g_warning ("%s: gtk_widget_tap_and_hold_setup requires gtk-hildon", __FUNCTION__)
+ g_debug ("%s: gtk_widget_tap_and_hold_setup requires gtk-hildon", __FUNCTION__)
win = g_list_find (priv->window_list, window);
if (!win) {
win = g_list_find (priv->window_list, window);
if (!win) {
- g_warning ("Trying to unregister a window that has not being registered yet");
+ g_debug ("Trying to unregister a window that has not being registered yet");
{
g_return_if_fail (MODEST_IS_HILDON2_WINDOW (self));
{
g_return_if_fail (MODEST_IS_HILDON2_WINDOW (self));
- g_warning ("%s not implemented", __FUNCTION__);
+ g_debug ("%s not implemented", __FUNCTION__);
modest_maemo_utils_get_osso_context (void)
{
if (!__osso_context)
modest_maemo_utils_get_osso_context (void)
{
if (!__osso_context)
- g_warning ("%s: __osso_context == NULL", __FUNCTION__);
+ g_debug ("%s: __osso_context == NULL", __FUNCTION__);
gtk_widget_show (GTK_WIDGET (priv->header_view));
break;
case MODEST_MAIN_WINDOW_CONTENTS_STYLE_DETAILS:
gtk_widget_show (GTK_WIDGET (priv->header_view));
break;
case MODEST_MAIN_WINDOW_CONTENTS_STYLE_DETAILS:
- g_message ("This view is not supported in Fremantle style");
+ g_warning ("This view is not supported in Fremantle style");
break;
case MODEST_MAIN_WINDOW_CONTENTS_STYLE_EMPTY:
wrap_in_scrolled_window (priv->contents_widget, GTK_WIDGET (priv->empty_view));
break;
case MODEST_MAIN_WINDOW_CONTENTS_STYLE_EMPTY:
wrap_in_scrolled_window (priv->contents_widget, GTK_WIDGET (priv->empty_view));
g_object_unref (folder_store);
}
g_object_unref (folder_store);
}
- g_message ("FOLDER VIEW CELL ACTIVATED");
+ g_debug ("FOLDER VIEW CELL ACTIVATED");
{
#ifdef DEBUG
GtkTextIter iter;
{
#ifdef DEBUG
GtkTextIter iter;
- g_message ("BEGIN BUFFER OF SIZE %d", gtk_text_buffer_get_char_count (GTK_TEXT_BUFFER (buffer)));
+ g_debug ("BEGIN BUFFER OF SIZE %d", gtk_text_buffer_get_char_count (GTK_TEXT_BUFFER (buffer)));
gtk_text_buffer_get_start_iter (GTK_TEXT_BUFFER (buffer), &iter);
while (!gtk_text_iter_is_end (&iter)) {
gtk_text_buffer_get_start_iter (GTK_TEXT_BUFFER (buffer), &iter);
while (!gtk_text_iter_is_end (&iter)) {
g_string_append (output, " ");
}
output = g_string_append (output, "]\n");
g_string_append (output, " ");
}
output = g_string_append (output, "]\n");
- g_message ("%s", output->str);
+ g_debug ("%s", output->str);
g_string_free (output, TRUE);
gtk_text_iter_forward_to_tag_toggle (&iter, NULL);
}
g_string_free (output, TRUE);
gtk_text_iter_forward_to_tag_toggle (&iter, NULL);
}
- g_message ("END BUFFER");
+ g_debug ("END BUFFER");
modest_msg_edit_window_attach_file_one (window, uri, allowed_size);
if (total_size > allowed_size) {
modest_msg_edit_window_attach_file_one (window, uri, allowed_size);
if (total_size > allowed_size) {
- g_warning ("%s: total size: %u",
+ g_debug ("%s: total size: %u",
__FUNCTION__, (unsigned int)total_size);
break;
}
__FUNCTION__, (unsigned int)total_size);
break;
}
- g_warning ("%s: could not get attachment size", __FUNCTION__);
+ g_debug ("%s: could not get attachment size", __FUNCTION__);
stream = create_stream_for_uri (uri);
stream = create_stream_for_uri (uri);
result = TRUE;
if (!gtk_text_iter_forward_search (iter, found_text, GTK_TEXT_SEARCH_VISIBLE_ONLY|GTK_TEXT_SEARCH_TEXT_ONLY,
match_start, match_end, NULL)) {
result = TRUE;
if (!gtk_text_iter_forward_search (iter, found_text, GTK_TEXT_SEARCH_VISIBLE_ONLY|GTK_TEXT_SEARCH_TEXT_ONLY,
match_start, match_end, NULL)) {
- g_warning ("Matched string with collate, but not matched in model");
+ g_debug ("Matched string with collate, but not matched in model");
/* Setup row_reference for the actual msg. */
priv->row_reference = gtk_tree_row_reference_new (priv->header_model, tree_path);
if (priv->row_reference == NULL) {
/* Setup row_reference for the actual msg. */
priv->row_reference = gtk_tree_row_reference_new (priv->header_model, tree_path);
if (priv->row_reference == NULL) {
- g_warning("No reference for msg header item.");
+ g_warning("%s: No reference for msg header item.", __FUNCTION__);
- g_warning ("window for this body is already being created");
+ g_debug ("window for this body is already being created");
} else {
/* it's not found, so create a new window for it */
} else {
/* it's not found, so create a new window for it */
if (found) {
/* if it's found, but there is no msg_win, it's probably in the process of being created;
* thus, we don't do anything */
if (found) {
/* if it's found, but there is no msg_win, it's probably in the process of being created;
* thus, we don't do anything */
- g_warning ("window for is already being created");
+ g_debug ("window for is already being created");
} else {
/* it's not found, so create a new window for it */
modest_window_mgr_register_header (mgr, header, attachment_uid); /* register the uid before building the window */
} else {
/* it's not found, so create a new window for it */
modest_window_mgr_register_header (mgr, header, attachment_uid); /* register the uid before building the window */
g_slice_free (SaveMimePartPair, pair);
info->pairs = g_list_delete_link (info->pairs, info->pairs);
} else {
g_slice_free (SaveMimePartPair, pair);
info->pairs = g_list_delete_link (info->pairs, info->pairs);
} else {
- g_warning ("modest: could not create save attachment %s: %s\n", pair->filename, gnome_vfs_result_to_string (info->result));
+ g_warning ("Could not create save attachment %s: %s\n", pair->filename, gnome_vfs_result_to_string (info->result));
save_mime_part_info_free (info, FALSE);
}
save_mime_part_info_free (info, FALSE);
}
filename = g_strdup (tny_mime_part_get_filename (mime_part));
} else {
/* TODO: show any error? */
filename = g_strdup (tny_mime_part_get_filename (mime_part));
} else {
/* TODO: show any error? */
- g_warning ("Tried to save a non-file attachment");
+ g_warning ("%s: Tried to save a non-file attachment", __FUNCTION__);
g_object_unref (mime_parts);
return;
}
g_object_unref (mime_parts);
return;
}
modest_window_mgr_get_main_window (modest_runtime_get_window_mgr(), FALSE);
hildon_banner_show_information (parent ? GTK_WIDGET(parent): NULL, NULL,
_("mcen_ib_unsupported_link"));
modest_window_mgr_get_main_window (modest_runtime_get_window_mgr(), FALSE);
hildon_banner_show_information (parent ? GTK_WIDGET(parent): NULL, NULL,
_("mcen_ib_unsupported_link"));
- g_warning ("%s: cannot open uri '%s'", __FUNCTION__,uri);
+ g_debug ("%s: cannot open uri '%s'", __FUNCTION__,uri);
* because we will replace it: */
if (alarm_cookie) {
if (alarmd_event_del(alarm_cookie) != 0)
* because we will replace it: */
if (alarm_cookie) {
if (alarmd_event_del(alarm_cookie) != 0)
- g_warning ("%s: alarm %d was not on the queue", __FUNCTION__, (int)alarm_cookie);
+ g_debug ("%s: alarm %d was not on the queue", __FUNCTION__, (int)alarm_cookie);
alarm_cookie = 0;
modest_conf_set_int (conf, MODEST_CONF_ALARM_ID, 0, NULL);
}
alarm_cookie = 0;
modest_conf_set_int (conf, MODEST_CONF_ALARM_ID, 0, NULL);
}
if (!alarm_cookie) {
/* Error */
if (!alarm_cookie) {
/* Error */
- g_debug ("Error setting alarm event. \n");
+ g_warning ("Error setting alarm event. \n");
win = MODEST_WINDOW (hildon_window_stack_peek (stack));
if (!win) {
win = MODEST_WINDOW (hildon_window_stack_peek (stack));
if (!win) {
- g_warning ("%s: don't show dialogs if there's no window shown; assuming 'Cancel'",
- __FUNCTION__);
+ g_debug ("%s: don't show dialogs if there's no window shown; assuming 'Cancel'",
+ __FUNCTION__);
top_win = MODEST_WINDOW (hildon_window_stack_peek (stack));
if (!top_win) {
top_win = MODEST_WINDOW (hildon_window_stack_peek (stack));
if (!top_win) {
- g_warning ("%s: don't show dialogs if there's no window shown; assuming 'Cancel'",
- __FUNCTION__);
+ g_debug ("%s: don't show dialogs if there's no window shown; assuming 'Cancel'",
+ __FUNCTION__);
#if MODEST_HILDON_API < 2
model = gtk_combo_box_get_model (GTK_COMBO_BOX (self));
#if MODEST_HILDON_API < 2
model = gtk_combo_box_get_model (GTK_COMBO_BOX (self));
- g_message ("HILDON < 2");
+ g_debug ("%s: HILDON < 2", __FUNCTION__);
#else
model = hildon_touch_selector_get_model (hildon_picker_button_get_selector
(HILDON_PICKER_BUTTON (self)), 0);
#else
model = hildon_touch_selector_get_model (hildon_picker_button_get_selector
(HILDON_PICKER_BUTTON (self)), 0);
- g_message ("HILDON >= 2");
+ g_debug ("%s: HILDON >= 2", __FUNCTION__);
#endif
if (!gtk_tree_model_get_iter_first (model, &iter))
return FALSE;
#endif
if (!gtk_tree_model_get_iter_first (model, &iter))
return FALSE;
/* some extra #defines, so it will compile with the 'normal' gtk */
#ifndef MODEST_HAVE_HILDON_GTK
#define hildon_gtk_entry_set_input_mode(a,b) \
/* some extra #defines, so it will compile with the 'normal' gtk */
#ifndef MODEST_HAVE_HILDON_GTK
#define hildon_gtk_entry_set_input_mode(a,b) \
- g_warning ("%s: hildon_gtk_entry_set_input_mode requires gtk-hildon", __FUNCTION__)
+ g_debug ("%s: hildon_gtk_entry_set_input_mode requires gtk-hildon", __FUNCTION__)
#define hildon_gtk_text_view_set_input_mode(a,b) \
#define hildon_gtk_text_view_set_input_mode(a,b) \
- g_warning ("%s: hildon_gtk_text_view_set_input_mode requires gtk-hildon", __FUNCTION__)
+ g_debug ("%s: hildon_gtk_text_view_set_input_mode requires gtk-hildon", __FUNCTION__)
#define gtk_widget_tap_and_hold_setup(a,b,c,d) \
#define gtk_widget_tap_and_hold_setup(a,b,c,d) \
- g_warning ("%s: gtk_widget_tap_and_hold_setup requires gtk-hildon", __FUNCTION__)
+ g_debug ("%s: gtk_widget_tap_and_hold_setup requires gtk-hildon", __FUNCTION__)
{
#ifdef DEBUG
GtkTextIter iter;
{
#ifdef DEBUG
GtkTextIter iter;
- g_message ("BEGIN BUFFER OF SIZE %d", gtk_text_buffer_get_char_count (GTK_TEXT_BUFFER (buffer)));
+ g_debug ("BEGIN BUFFER OF SIZE %d", gtk_text_buffer_get_char_count (GTK_TEXT_BUFFER (buffer)));
gtk_text_buffer_get_start_iter (GTK_TEXT_BUFFER (buffer), &iter);
while (!gtk_text_iter_is_end (&iter)) {
gtk_text_buffer_get_start_iter (GTK_TEXT_BUFFER (buffer), &iter);
while (!gtk_text_iter_is_end (&iter)) {
g_string_append (output, " ");
}
output = g_string_append (output, "]\n");
g_string_append (output, " ");
}
output = g_string_append (output, "]\n");
- g_message ("%s", output->str);
+ g_debug ("%s", output->str);
g_string_free (output, TRUE);
gtk_text_iter_forward_to_tag_toggle (&iter, NULL);
}
g_string_free (output, TRUE);
gtk_text_iter_forward_to_tag_toggle (&iter, NULL);
}
- g_message ("END BUFFER");
+ g_debug ("END BUFFER");
- g_warning ("%s: could not get attachment size", __FUNCTION__);
+ g_debug ("%s: could not get attachment size", __FUNCTION__);
stream = create_stream_for_uri (uri);
stream = create_stream_for_uri (uri);
- g_warning ("window for this body is already being created");
+ g_debug ("window for this body is already being created");
} else {
/* it's not found, so create a new window for it */
} else {
/* it's not found, so create a new window for it */
else
/* if it's found, but there is no msg_win, it's probably in the process of being created;
* thus, we don't do anything */
else
/* if it's found, but there is no msg_win, it's probably in the process of being created;
* thus, we don't do anything */
- g_warning ("window for is already being created");
+ g_debug ("window for is already being created");
} else {
/* it's not found, so create a new window for it */
modest_window_mgr_register_header (mgr, header, attachment_uid); /* register the uid before building the window */
} else {
/* it's not found, so create a new window for it */
modest_window_mgr_register_header (mgr, header, attachment_uid); /* register the uid before building the window */
{
FetchImageData *fidata = (FetchImageData *) userdata;
{
FetchImageData *fidata = (FetchImageData *) userdata;
- g_message ("REFRESH VIEW");
+ g_debug ("REFRESH VIEW");
if (GTK_WIDGET_DRAWABLE (fidata->msg_view)) {
if (GTK_WIDGET_DRAWABLE (fidata->msg_view)) {
- g_message ("QUEUING DRAW");
+ g_debug ("QUEUING DRAW");
gtk_widget_queue_draw (fidata->msg_view);
}
g_object_unref (fidata->msg_view);
gtk_widget_queue_draw (fidata->msg_view);
}
g_object_unref (fidata->msg_view);
modest_window_mgr_get_main_window (modest_runtime_get_window_mgr(), FALSE);
hildon_banner_show_information (parent ? GTK_WIDGET(parent): NULL, NULL,
_("mcen_ib_unsupported_link"));
modest_window_mgr_get_main_window (modest_runtime_get_window_mgr(), FALSE);
hildon_banner_show_information (parent ? GTK_WIDGET(parent): NULL, NULL,
_("mcen_ib_unsupported_link"));
- g_warning ("%s: cannot open uri '%s'", __FUNCTION__,uri);
+ g_debug ("%s: cannot open uri '%s'", __FUNCTION__,uri);
* because we will replace it: */
if (alarm_cookie) {
if (alarm_event_del(alarm_cookie) != 1)
* because we will replace it: */
if (alarm_cookie) {
if (alarm_event_del(alarm_cookie) != 1)
- g_warning ("%s: alarm %d was not on the queue", __FUNCTION__, (int)alarm_cookie);
+ g_debug ("%s: alarm %d was not on the queue", __FUNCTION__, (int)alarm_cookie);
alarm_cookie = 0;
modest_conf_set_int (conf, MODEST_CONF_ALARM_ID, 0, NULL);
}
alarm_cookie = 0;
modest_conf_set_int (conf, MODEST_CONF_ALARM_ID, 0, NULL);
}
ModestWindow *main_win;
if (!modest_window_mgr_main_window_exists (modest_runtime_get_window_mgr())) {
ModestWindow *main_win;
if (!modest_window_mgr_main_window_exists (modest_runtime_get_window_mgr())) {
- g_warning ("%s: don't show dialogs if there's no main window; assuming 'Cancel'",
- __FUNCTION__);
+ g_debug ("%s: don't show dialogs if there's no main window; assuming 'Cancel'",
+ __FUNCTION__);
ModestWindow *main_win;
if (!modest_window_mgr_main_window_exists (modest_runtime_get_window_mgr())) {
ModestWindow *main_win;
if (!modest_window_mgr_main_window_exists (modest_runtime_get_window_mgr())) {
- g_warning ("%s:\n'%s'\ndon't show dialogs if there's no main window;"
+ g_debug ("%s:\n'%s'\ndon't show dialogs if there's no main window;"
" assuming 'Cancel' for questions, 'Ok' otherwise", prompt, __FUNCTION__);
return is_question ? FALSE : TRUE;
}
" assuming 'Cancel' for questions, 'Ok' otherwise", prompt, __FUNCTION__);
return is_question ? FALSE : TRUE;
}
gchar *hostname, *username, *pwd, *uri, *proto, *auth, *sec;
if (!modest_account_mgr_account_exists (self, name, TRUE)) {
gchar *hostname, *username, *pwd, *uri, *proto, *auth, *sec;
if (!modest_account_mgr_account_exists (self, name, TRUE)) {
- g_message ("%s account %s does not exist", __FUNCTION__, name);
+ g_warning ("%s account %s does not exist", __FUNCTION__, name);
store_settings);
g_object_unref (store_settings);
} else {
store_settings);
g_object_unref (store_settings);
} else {
- g_message ("%s can not load server settings. Account corrupted?", __FUNCTION__);
+ g_warning ("%s can not load server settings. Account corrupted?", __FUNCTION__);
g_object_unref (settings);
return NULL;
}
g_object_unref (settings);
return NULL;
}
modest_account_settings_set_transport_settings (settings, transport_settings);
g_object_unref (transport_settings);
} else {
modest_account_settings_set_transport_settings (settings, transport_settings);
g_object_unref (transport_settings);
} else {
- g_message ("%s can not load server settings. Account corrupted?", __FUNCTION__);
+ g_warning ("%s can not load server settings. Account corrupted?", __FUNCTION__);
g_object_unref (settings);
return NULL;
}
g_object_unref (settings);
return NULL;
}
void modest_address_book_add_address (const gchar *address)
{
void modest_address_book_add_address (const gchar *address)
{
- g_message ("trying to add '%s' to non-existing address book",
- address);
+ g_debug ("trying to add '%s' to non-existing address book",
+ address);
{
if (strcmp ("cerm_device_memory_full",
_KR("cerm_device_memory_full")) == 0) {
{
if (strcmp ("cerm_device_memory_full",
_KR("cerm_device_memory_full")) == 0) {
- g_warning ("%s: cannot get translation for cerm_device_memory_full",
+ g_debug ("%s: cannot get translation for cerm_device_memory_full",
__FUNCTION__);
return FALSE;
}
__FUNCTION__);
return FALSE;
}
{
/* Set application name */
g_set_application_name (modest_platform_get_app_name());
{
/* Set application name */
g_set_application_name (modest_platform_get_app_name());
- /* g_message (modest_platform_get_app_name()); */
+ /* g_debug (modest_platform_get_app_name()); */
/* Init stock icons */
init_stock_icons ();
/* Init stock icons */
init_stock_icons ();
g_object_unref (pixbuf);
}
else
g_object_unref (pixbuf);
}
else
- g_warning ("Modest: %s: failed to load %s icon", __FUNCTION__, items_names[i]);
+ g_warning ("%s: failed to load %s icon", __FUNCTION__, items_names[i]);
}
/* Drop our reference to the factory, GTK will hold a reference. */
g_object_unref (factory);
}
/* Drop our reference to the factory, GTK will hold a reference. */
g_object_unref (factory);
modest_mail_operation_execute_error_handler (mail_op);
} else {
if (status == MODEST_MAIL_OPERATION_STATUS_CANCELED)
modest_mail_operation_execute_error_handler (mail_op);
} else {
if (status == MODEST_MAIL_OPERATION_STATUS_CANCELED)
- g_warning ("%s: operation canceled \n", __FUNCTION__);
+ g_debug ("%s: operation canceled \n", __FUNCTION__);
else
g_warning ("%s: possible error in a mail operation " \
"implementation. The status is not successful " \
else
g_warning ("%s: possible error in a mail operation " \
"implementation. The status is not successful " \
g_type_module_use (type_module);
plugin = MODEST_PLUGIN (modest_module_new_object (MODEST_MODULE (type_module)));
if (plugin)
g_type_module_use (type_module);
plugin = MODEST_PLUGIN (modest_module_new_object (MODEST_MODULE (type_module)));
if (plugin)
- g_message ("Plugin %s API version %s", plugin_name, modest_plugin_get_api_version (plugin));
+ g_debug ("Plugin %s API version %s", plugin_name, modest_plugin_get_api_version (plugin));
g_type_module_unuse (type_module);
}
g_free (path);
g_type_module_unuse (type_module);
}
g_free (path);
g_free (val);
/* debug: */
g_free (val);
/* debug: */
-/* g_message ("provider id: %s, server type: %d", provider_id, info); */
+/* g_debug ("provider id: %s, server type: %d", provider_id, info); */
len = (sizeof (buffer) - 1) / 2;
if (strlen (search->body) > len) {
len = (sizeof (buffer) - 1) / 2;
if (strlen (search->body) > len) {
- g_warning ("Search term bigger then chunk."
- "We might not find everything");
+ g_debug ("Search term bigger then chunk."
+ "We might not find everything");
}
stream = tny_mime_part_get_stream (part);
}
stream = tny_mime_part_get_stream (part);
g_object_unref (mmc_account);
} else {
g_object_unref (mmc_account);
} else {
- g_warning ("%s: there was no store account for the unmounted MMC",
- __FUNCTION__);
+ g_debug ("%s: there was no store account for the unmounted MMC",
+ __FUNCTION__);
}
}
g_free (volume_path_uri);
}
}
g_free (volume_path_uri);
server_account_name = tny_account_get_id (account);
if (!server_account_name || !self) {
server_account_name = tny_account_get_id (account);
if (!server_account_name || !self) {
- g_warning ("modest: %s: could not retrieve account_store for account %s",
+ g_warning ("%s: could not retrieve account_store for account %s",
__FUNCTION__, server_account_name ? server_account_name : "<NULL>");
if (cancel)
*cancel = TRUE;
__FUNCTION__, server_account_name ? server_account_name : "<NULL>");
if (cancel)
*cancel = TRUE;
server_name = tny_account_get_hostname (account);
protocol_type = modest_tny_account_get_protocol_type (account);
if (protocol_type == MODEST_PROTOCOL_REGISTRY_TYPE_INVALID){
server_name = tny_account_get_hostname (account);
protocol_type = modest_tny_account_get_protocol_type (account);
if (protocol_type == MODEST_PROTOCOL_REGISTRY_TYPE_INVALID){
- g_warning("modest: %s: account with id=%s has no proto.\n", __FUNCTION__,
+ g_warning("%s: account with id=%s has no proto.\n", __FUNCTION__,
tny_account_get_id (account));
return FALSE;
}
tny_account_get_id (account));
return FALSE;
}
case TNY_SERVICE_ERROR_UNKNOWN:
return FALSE;
default:
case TNY_SERVICE_ERROR_UNKNOWN:
return FALSE;
default:
- g_debug ("Unexpected error %d", error->code);
- g_return_val_if_reached (FALSE);
+ /* We don't treat this as an error, but as a not handled message. Then,
+ * debug message, and return false */
+ g_debug ("Unexpected error %d (%s)", error->code, error->message);
+ return FALSE;
* returning an empty list. murrayc. */
tny_folder_store_get_folders (TNY_FOLDER_STORE (local_account), folders, NULL, FALSE, &error);
if (error) {
* returning an empty list. murrayc. */
tny_folder_store_get_folders (TNY_FOLDER_STORE (local_account), folders, NULL, FALSE, &error);
if (error) {
- g_warning ("%s: tny_folder_store_get_folders() failed:%s\n", __FUNCTION__, error->message);
+ g_debug ("%s: tny_folder_store_get_folders() failed:%s\n", __FUNCTION__, error->message);
g_error_free (error);
goto cleanup;
}
g_error_free (error);
goto cleanup;
}
TNY_ACCOUNT (account), TNY_ALERT_TYPE_ERROR, FALSE,
err);
}
TNY_ACCOUNT (account), TNY_ALERT_TYPE_ERROR, FALSE,
err);
}
- g_warning ("err: %s", err->message);
+ g_debug ("err: %s", err->message);
GetMmcAccountNameData *callback_data = (GetMmcAccountNameData*)data;
if (error) {
GetMmcAccountNameData *callback_data = (GetMmcAccountNameData*)data;
if (error) {
- g_warning ("%s: error=%s", __FUNCTION__, error->message);
+ g_debug ("%s: error=%s", __FUNCTION__, error->message);
}
TnyAccount *account = TNY_ACCOUNT (callback_data->account);
}
TnyAccount *account = TNY_ACCOUNT (callback_data->account);
old_from = tny_header_dup_from (header);
if (!old_from && !old_reply_to) {
old_from = tny_header_dup_from (header);
if (!old_from && !old_reply_to) {
- g_warning ("%s: failed to get either Reply-To: or From: from header",
+ g_debug ("%s: failed to get either Reply-To: or From: from header",
__FUNCTION__);
return NULL;
}
__FUNCTION__);
return NULL;
}
if (reply_mode == MODEST_TNY_MSG_REPLY_MODE_ALL) {
gchar *old_to = tny_header_dup_to (header);
if (!old_to)
if (reply_mode == MODEST_TNY_MSG_REPLY_MODE_ALL) {
gchar *old_to = tny_header_dup_to (header);
if (!old_to)
- g_warning ("%s: no To: address found in source mail",
+ g_debug ("%s: no To: address found in source mail",
__FUNCTION__);
else {
/* append the old To: */
__FUNCTION__);
else {
/* append the old To: */
new_header = tny_msg_get_header(new_msg);
new_to = get_new_to (msg, header, from, reply_mode);
if (!new_to)
new_header = tny_msg_get_header(new_msg);
new_to = get_new_to (msg, header, from, reply_mode);
if (!new_to)
- g_warning ("%s: failed to get new To:", __FUNCTION__);
+ g_debug ("%s: failed to get new To:", __FUNCTION__);
else {
tny_header_set_to (new_header, new_to);
g_free (new_to);
else {
tny_header_set_to (new_header, new_to);
g_free (new_to);
g_string_append(type, "; charset=\"utf-8\"");
} else {
/* it should be impossible to reach this, but better safe than sorry */
g_string_append(type, "; charset=\"utf-8\"");
} else {
/* it should be impossible to reach this, but better safe than sorry */
- g_warning("invalid utf8 in message");
+ g_debug("invalid utf8 in message");
g_string_append(type, "; charset=\"latin1\"");
}
}
g_string_append(type, "; charset=\"latin1\"");
}
}
total_size += att_size;
if (att_size > allowed_size) {
total_size += att_size;
if (att_size > allowed_size) {
- g_warning ("%s: total size: %u",
- __FUNCTION__, (unsigned int)total_size);
+ g_debug ("%s: total size: %u",
+ __FUNCTION__, (unsigned int)total_size);
break;
}
allowed_size -= att_size;
break;
}
allowed_size -= att_size;
modest_ui_actions_on_msg_link_hover (ModestMsgView *msgview, const gchar* link,
ModestWindow *win)
{
modest_ui_actions_on_msg_link_hover (ModestMsgView *msgview, const gchar* link,
ModestWindow *win)
{
- /* g_message ("%s %s", __FUNCTION__, link); */
+ /* g_debug ("%s %s", __FUNCTION__, link); */
const gchar *address,
ModestWindow *win)
{
const gchar *address,
ModestWindow *win)
{
- /* g_message ("%s %s", __FUNCTION__, address); */
+ /* g_debug ("%s %s", __FUNCTION__, address); */
modest_msg_view_window_remove_attachments (MODEST_MSG_VIEW_WINDOW (msg_view_window), TRUE);
else {
/* do nothing; uid was registered before, so window is probably on it's way */
modest_msg_view_window_remove_attachments (MODEST_MSG_VIEW_WINDOW (msg_view_window), TRUE);
else {
/* do nothing; uid was registered before, so window is probably on it's way */
- g_warning ("debug: header %p has already been registered", header);
+ g_debug ("header %p has already been registered", header);
}
} else {
ModestMailOperation *mail_op = NULL;
}
} else {
ModestMailOperation *mail_op = NULL;
result = !has_selection;
} else if (MODEST_IS_MSG_VIEW_WINDOW (win)) {
if (focused) {
result = !has_selection;
} else if (MODEST_IS_MSG_VIEW_WINDOW (win)) {
if (focused) {
- MODEST_DEBUG_BLOCK (g_message ("FOCUSED %s", g_type_name (G_TYPE_FROM_INSTANCE (focused))););
+ MODEST_DEBUG_BLOCK (g_debug ("FOCUSED %s", g_type_name (G_TYPE_FROM_INSTANCE (focused))););
if (GTK_IS_LABEL (focused) &&
!gtk_label_get_selection_bounds (GTK_LABEL (focused), NULL, NULL)) {
result = TRUE;
if (GTK_IS_LABEL (focused) &&
!gtk_label_get_selection_bounds (GTK_LABEL (focused), NULL, NULL)) {
result = TRUE;
if (mcc == previous_mcc ||
g_hash_table_lookup (country_hash, country)) {
if (mcc == previous_mcc ||
g_hash_table_lookup (country_hash, country)) {
- g_message ("already seen: '%s' %d", country, mcc);
+ g_debug ("already seen: '%s' %d", country, mcc);
continue;
}
previous_mcc = mcc;
continue;
}
previous_mcc = mcc;
win = g_list_find (priv->window_list, window);
if (!win) {
win = g_list_find (priv->window_list, window);
if (!win) {
- g_warning ("Trying to unregister a window that has not being registered yet");
+ g_debug ("Trying to unregister a window that has not being registered yet");
g_mutex_lock (priv->queue_lock);
item = g_queue_find (priv->modal_windows, widget);
if (!item) {
g_mutex_lock (priv->queue_lock);
item = g_queue_find (priv->modal_windows, widget);
if (!item) {
- g_warning ("Trying to remove a modal window that is not registered");
+ g_debug ("Trying to remove a modal window that is not registered");
g_mutex_unlock (priv->queue_lock);
return;
}
g_mutex_unlock (priv->queue_lock);
return;
}