[perl-Gtk2-Unique] Update the SYNOPSIS



commit a47be40ce79cdbab3f15d92903509861f4c5f698
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date:   Fri Feb 24 21:58:26 2017 +0100

    Update the SYNOPSIS
    
    It not includes a valid perl program.

 xs/UniqueApp.xs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/xs/UniqueApp.xs b/xs/UniqueApp.xs
index 93ee4cd..033e00d 100644
--- a/xs/UniqueApp.xs
+++ b/xs/UniqueApp.xs
@@ -74,6 +74,12 @@ BOOT:
 
 =head1 SYNOPSIS
 
+    use Gtk2 '-init';
+    use Gtk2::Unique;
+
+    my $COMMAND_FOO = 1;
+    my $COMMAND_BAR = 2;
+
        my $app = Gtk2::UniqueApp->new(
                "org.example.UnitTets", undef,
                foo => $COMMAND_FOO,


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