summaryrefslogtreecommitdiff
path: root/check-config-h.pl
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-05-02 20:04:26 +0000
committerDarin Adler <darin@src.gnome.org>2000-05-02 20:04:26 +0000
commitb350e0b3ce7cf2c59b86478902eae3753e995dd3 (patch)
tree1d82942e21d5552f07512746c2002f7b70cf8b34 /check-config-h.pl
parent225e67f12b54ecf53275e146f949be7660bca540 (diff)
downloadnautilus-b350e0b3ce7cf2c59b86478902eae3753e995dd3.tar.gz
Added -print as suggested by Morten Welinder <terra@diku.dk>. Added -print
* check-FIXME.pl: Added -print as suggested by Morten Welinder <terra@diku.dk>. * check-config-h.pl: Added -print and fixed broken message as suggested by Morten Welinder <terra@diku.dk>. * libnautilus-extensions/nautilus-icon-factory.h: * libnautilus-extensions/nautilus-icon-factory.c (suffix_is_scalable): Simpler implementation. (get_themed_icon_file_path): Look for size-specific version of even .svg files. Although not so useful, it's not ridiculous to do so. (nautilus_icon_factory_get_icon_for_file): Fixed the twisted logic to be less twisted. Also changed the ".svg" extension check to use the common function suffix_is_scalable. (load_specific_image): Untwist logic here too, and note in the FIXME that both the .svg library and gdk-pixbuf are limiting us to file: URIs, although the gdk-pixbuf case is fixable without redoing the library by just using our utility functions. (load_image_for_scaling): Update for new size request structure which contains maximum sizes as well as nominal ones. (scale_image_and_rectangle), (revise_scale_factors_if_too_big), (scale_image_down_if_too_big): New helper functions for scaling. (load_image_scale_if_necessary): Take the maximum size into account. (get_image_from_cache): Use new size request structure and take the maximum size into account. (nautilus_icon_factory_get_pixbuf_for_icon): Changed to take maximum size parameters and pass them in to the underlying function. (icon_cache_key_hash): Include the maximum size in the hash. (icon_cache_key_equal): Check the maximum size too. (nautilus_icon_factory_get_pixbuf_for_file): Pass new max. size parameters to the nautilus_icon_factory_get_pixbuf_for_icon function. * libnautilus-extensions/nautilus-icon-container.c (nautilus_icon_container_update_icon): Pass new max. size parameters to the nautilus_icon_factory_get_pixbuf_for_icon function. * src/file-manager/fm-list-view.c (fm_list_view_get_emblem_pixbufs_for_file): Pass new max. size parameters to the nautilus_icon_factory_get_pixbuf_for_icon function.
Diffstat (limited to 'check-config-h.pl')
-rwxr-xr-xcheck-config-h.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/check-config-h.pl b/check-config-h.pl
index d7ee76856..187d3480f 100755
--- a/check-config-h.pl
+++ b/check-config-h.pl
@@ -35,10 +35,9 @@ my $edit = 0;
&GetOptions("edit" => \$edit);
# default to all the files starting from the current directory
-my %skip_files;
if (!@ARGV)
{
- @ARGV = `find -name '*.c'`;
+ @ARGV = `find -name '*.c' -print`;
}
# locate all of the target lines
@@ -46,7 +45,6 @@ my @missing_files;
FILE: foreach my $file (@ARGV)
{
chomp $file;
- next if $skip_files{$file};
open FILE, $file or die "can't open $file";
while (<FILE>)
{
@@ -59,7 +57,7 @@ FILE: foreach my $file (@ARGV)
if (@missing_files)
{
- print "\n", scalar(@missing_files), " C files don't have bug reports:\n\n";
+ print "\n", scalar(@missing_files), " C files don't have <config.h> includes:\n\n";
if (!$edit)
{
print join("\n", @missing_files), "\n";