[gimp-perl/tb] p



commit 02919816174cbbcade7e1cd8c61d9ac3512f6d45
Author: Ed J <edj src gnome org>
Date:   Sun May 1 02:09:50 2016 +0100

    p

 lib/Gimp/UI.pm |    1 +
 lib/Gimp/UI.xs |    8 ++++++++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/lib/Gimp/UI.pm b/lib/Gimp/UI.pm
index bbf7842..bcc864a 100644
--- a/lib/Gimp/UI.pm
+++ b/lib/Gimp/UI.pm
@@ -711,6 +711,7 @@ sub interact {
   $mainloop->run;
   die $exception_text if $exception_text;
   my @input_vals = map {&$_} @getvals if $res;
+  Gimp::on_proc(sub { warn "proc(@_)" });
   my @return_vals = $code->(@$silent_vals, @input_vals) if $res and $code;
   $w->destroy;
   return (0, \ input_vals, []) unless $res;
diff --git a/lib/Gimp/UI.xs b/lib/Gimp/UI.xs
index 3d770aa..44cdb47 100644
--- a/lib/Gimp/UI.xs
+++ b/lib/Gimp/UI.xs
@@ -443,6 +443,14 @@ BOOT:
 #void        gimp_pixmap_set      (GimpPixmap  *pixmap,
 #                                gchar      **xpm_data);
 
+MODULE = Gimp::UI PACKAGE = Gimp::UI::ProgressBar PREFIX = gimp_progress_bar_
+
+BOOT:
+       gperl_register_object (GIMP_TYPE_PROGRESS_BAR, "Gimp::UI::ProgressBar");
+
+GtkWidget * gimp_progress_bar_new (SV *unused_class)
+       C_ARGS:
+
 MODULE = Gimp::UI      PACKAGE = Gimp::UI::SizeEntry   PREFIX = gimp_size_entry_
 
 BOOT:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]