Mercurial > geeqie
comparison src/view_dir.c @ 736:a7289f9e8d29
Fix signed vs unsigned warnings.
In most cases, gint was used instead of guint.
author | zas_ |
---|---|
date | Thu, 22 May 2008 13:00:45 +0000 |
parents | eda074e91ddd |
children | 477f48ba28d8 |
comparison
equal
deleted
inserted
replaced
735:df6c11709106 | 736:a7289f9e8d29 |
---|---|
621 gtk_menu_item_set_submenu(GTK_MENU_ITEM(item), submenu); | 621 gtk_menu_item_set_submenu(GTK_MENU_ITEM(item), submenu); |
622 | 622 |
623 for (i = 0; i < VIEW_DIR_TYPES_COUNT; i++) | 623 for (i = 0; i < VIEW_DIR_TYPES_COUNT; i++) |
624 { | 624 { |
625 item = menu_item_add_check(submenu, _(menu_view_dir_radio_entries[i].label), | 625 item = menu_item_add_check(submenu, _(menu_view_dir_radio_entries[i].label), |
626 (vd->type == menu_view_dir_radio_entries[i].value), | 626 ((gint) vd->type == menu_view_dir_radio_entries[i].value), |
627 G_CALLBACK(vd_pop_submenu_dir_view_as_cb), vd); | 627 G_CALLBACK(vd_pop_submenu_dir_view_as_cb), vd); |
628 g_object_set_data(G_OBJECT(item), VIEW_DIR_AS_SUBMENU_KEY, GINT_TO_POINTER(menu_view_dir_radio_entries[i].value)); | 628 g_object_set_data(G_OBJECT(item), VIEW_DIR_AS_SUBMENU_KEY, GINT_TO_POINTER(menu_view_dir_radio_entries[i].value)); |
629 } | 629 } |
630 | 630 |
631 menu_item_add_check(menu, _("Show _hidden files"), options->file_filter.show_hidden_files, | 631 menu_item_add_check(menu, _("Show _hidden files"), options->file_filter.show_hidden_files, |