summaryrefslogtreecommitdiff
path: root/gtk/makegtkalias.pl
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-08-10 17:50:31 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-08-10 17:50:31 +0000
commit9c0208b2536f45e2942df66c3e8c973d592caa32 (patch)
tree6cd47c446eb99f723802ec7b8cec4d3d99ba866f /gtk/makegtkalias.pl
parent4c0ec536c6959d1348b7e67ce5cae94b4e823eb1 (diff)
downloadgtk+-9c0208b2536f45e2942df66c3e8c973d592caa32.tar.gz
Include gtkalias.h in the generated sources gtkmarhalers.c and
2004-08-10 Matthias Clasen <mclasen@redhat.com> * gtk/Makefile.am: Include gtkalias.h in the generated sources gtkmarhalers.c and gtkmarshal.c. * gtk/makegtkalias.pl: Cosmetic fix. * gdk/Makefile.am: Remove the . which was accidentally added to SUBDIRS. Include gdkalias.h in the generated sources gdkenumtypes.c and gdkmarshalers.c. * gdk/makegdkalias.pl: Cosmetic fix. * gdk/Makefile.am: Add gdkalias.h to BUILT_SOURCES.
Diffstat (limited to 'gtk/makegtkalias.pl')
-rwxr-xr-xgtk/makegtkalias.pl8
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk/makegtkalias.pl b/gtk/makegtkalias.pl
index d6cbd0deac..e057cad236 100755
--- a/gtk/makegtkalias.pl
+++ b/gtk/makegtkalias.pl
@@ -71,14 +71,12 @@ EOF
print $preamble;
while (<>) {
- my $str = $_;
- chomp($str);
# ignore empty lines
- if ("$str" eq "") {
- next;
- }
+ next if /^\s*$/;
+ my $str = $_;
+ chomp($str);
my $alias = $str."__internal_alias";
print "extern __typeof ($str) $alias __attribute((visibility(\"hidden\"))); \n";