Commit a642c62c authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Don't use bitops on booleans.

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use
	bitops on booleans.
parent ac038c3e
2004-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use
bitops on booleans.
Wed Sep 22 00:54:34 2004 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
......
2004-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use
bitops on booleans.
Wed Sep 22 00:54:34 2004 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
......
2004-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use
bitops on booleans.
Wed Sep 22 00:54:34 2004 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
......
2004-09-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use
bitops on booleans.
Wed Sep 22 00:54:34 2004 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
......
......@@ -1913,8 +1913,8 @@ selection_check_foreach_cb (GtkTreeModel *model,
info = _gtk_file_system_model_get_info (closure->impl->browse_files_model, &child_iter);
is_folder = gtk_file_info_get_is_folder (info);
closure->all_folders &= is_folder;
closure->all_files &= !is_folder;
closure->all_folders = closure->all_folders && is_folder;
closure->all_files = closure->all_files && !is_folder;
}
/* Checks whether the selected items in the file list are all files or all folders */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment