[unique] [docs] Add a note about requiring gtk_init()



commit a72ab58ea3b6e9ebb2735981c1266c09504c4b17
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Aug 24 22:50:21 2009 +0100

    [docs] Add a note about requiring gtk_init()
    
    Be more explicit on requiring GTK+ to be initialized before using
    LibUnique.
    
    Fixes bug:
    
      http://bugzilla.gnome.org/show_bug.cgi?id=585536

 unique/uniqueapp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/unique/uniqueapp.c b/unique/uniqueapp.c
index 0587233..9ebc830 100644
--- a/unique/uniqueapp.c
+++ b/unique/uniqueapp.c
@@ -46,6 +46,8 @@
  *
  * You can define custom commands using unique_app_add_command(): you
  * need to provide an arbitrary integer and a string for the command.
+ *
+ * <note>You need to initialize GTK+ in order to use UniqueApp.</note>
  */
 
 #include <config.h>



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