talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit a984e6a8825f7c4b70a2a88e24ace4c549e49186
parent 220a4478ca435cf7d86687831af1923308a65e8d
Author: Ricardo Mones <ricardo@mones.org>
Date:   Sat, 16 Nov 2013 16:15:19 +0100

Clean fancy warnings

Cleans:
 • fancy_viewer.c:441:3: warning: format '%d' expects argument of
   type 'int', but argument 2 has type 'size_t'
 • fancy_prefs.c:164:9: warning: passing argument 1 of 'gtk_list_store_set'
   from incompatible pointer type
 • fancy_prefs.c:167:9: warning: passing argument 1 of 'gtk_list_store_set'
   from incompatible pointer type

Diffstat:
Msrc/plugins/fancy/fancy_prefs.c | 4++--
Msrc/plugins/fancy/fancy_viewer.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/fancy/fancy_prefs.c b/src/plugins/fancy/fancy_prefs.c @@ -160,10 +160,10 @@ static void remote_content_set_labels_cb(GtkWidget *button, FancyPrefsPage *pref model = gtk_combo_box_get_model(GTK_COMBO_BOX(prefs_page->open_external)); if (gtk_tree_model_get_iter_first (model, &iter)) { if (remote_enabled) - gtk_list_store_set(model, &iter, COMBOBOX_TEXT, + gtk_list_store_set(GTK_LIST_STORE(model), &iter, COMBOBOX_TEXT, _("Open in viewer (remote content is enabled)"), -1); else - gtk_list_store_set(model, &iter, COMBOBOX_TEXT, + gtk_list_store_set(GTK_LIST_STORE(model), &iter, COMBOBOX_TEXT, _("Do nothing (remote content is disabled)"), -1); } diff --git a/src/plugins/fancy/fancy_viewer.c b/src/plugins/fancy/fancy_viewer.c @@ -438,7 +438,7 @@ static void resource_request_starting_cb(WebKitWebView *view, webkit_network_request_set_uri(request, "about:blank"); } else - debug_print("Starting request of %d %s\n", strlen(uri), uri); + debug_print("Starting request of %zu %s\n", strlen(uri), uri); } static gboolean fancy_text_search(MimeViewer *_viewer, gboolean backward,