GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 1d726823 authored by Matthias Clasen's avatar Matthias Clasen

Forgotten file

This change to geninclude.pl.in is needed to make my commit
91d01434 work.
parent 78538fb6
...@@ -23,13 +23,20 @@ for $file (@ARGV) { ...@@ -23,13 +23,20 @@ for $file (@ARGV) {
open INFO_FILE, $file or die "Cannot open '$file'\n"; open INFO_FILE, $file or die "Cannot open '$file'\n";
$title = <INFO_FILE>; $title = <INFO_FILE>;
$title =~ s@^\s*/\*\s*@@; $title =~ s@^\s*/\*\s*@@;
$extra = "";
if ($title =~ /^(.*)::(.*)$/) {
$title = $1;
$extra = " $2";
}
$title =~ s@\s*$@@; $title =~ s@\s*$@@;
$extra =~ s@^\s*@@;
$extra =~ s@\s*$@@;
close INFO_FILE; close INFO_FILE;
print "GtkWidget *do_$basename (GtkWidget *do_widget);\n"; print "GtkWidget *do_$basename (GtkWidget *do_widget);\n";
push @demos, {"title" => $title, "file" => $file, push @demos, {"title" => $title, "file" => "$file $extra",
"func" => "do_$basename"}; "func" => "do_$basename"};
} }
......
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