mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Forgotten file
This change to geninclude.pl.in is needed to make my commit
91d01434bc
work.
This commit is contained in:
parent
78538fb647
commit
1d72682332
@ -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"};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user