[gtk-vnc] Added vnc_display_get_option_entries() symbol in VncDisplay.



commit 7ff5a323338b0ab407d9819a50348aead3d7206b
Author: Jonh Wendell <jwendell gnome org>
Date:   Mon Aug 10 17:25:43 2009 -0300

    Added vnc_display_get_option_entries() symbol in VncDisplay.
    
    It returns a GOptionEntry *. It's up to apps to integrate those
    options, returned by gtk-vnc into their own groups. This makes
    things flexible.

 src/vncdisplay.c |    6 ++++++
 src/vncdisplay.h |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/vncdisplay.c b/src/vncdisplay.c
index 3fc7137..e587dfb 100644
--- a/src/vncdisplay.c
+++ b/src/vncdisplay.c
@@ -2247,6 +2247,12 @@ vnc_display_get_option_group (void)
 	return group;
 }
 
+const GOptionEntry *
+vnc_display_get_option_entries (void)
+{
+	return gtk_vnc_args;
+}
+
 #ifdef WIN32
 
 /* On Windows, we must call WSAStartup before using any sockets and we
diff --git a/src/vncdisplay.h b/src/vncdisplay.h
index c3779ad..7c6a64e 100644
--- a/src/vncdisplay.h
+++ b/src/vncdisplay.h
@@ -137,6 +137,7 @@ void		vnc_display_force_grab(VncDisplay *obj, gboolean enable);
 gboolean	vnc_display_is_pointer_absolute(VncDisplay *obj);
 
 GOptionGroup *  vnc_display_get_option_group(void);
+const GOptionEntry *  vnc_display_get_option_entries(void);
 
 G_END_DECLS
 



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