Forgotten file

This change to geninclude.pl.in is needed to make my commit
91d01434bc work.
This commit is contained in:
Matthias Clasen 2012-05-25 20:25:43 -04:00
parent 78538fb647
commit 1d72682332

View File

@ -23,13 +23,20 @@ for $file (@ARGV) {
open INFO_FILE, $file or die "Cannot open '$file'\n";
$title = <INFO_FILE>;
$title =~ s@^\s*/\*\s*@@;
$extra = "";
if ($title =~ /^(.*)::(.*)$/) {
$title = $1;
$extra = " $2";
}
$title =~ s@\s*$@@;
$extra =~ s@^\s*@@;
$extra =~ s@\s*$@@;
close INFO_FILE;
print "GtkWidget *do_$basename (GtkWidget *do_widget);\n";
push @demos, {"title" => $title, "file" => $file,
push @demos, {"title" => $title, "file" => "$file $extra",
"func" => "do_$basename"};
}