gnome-scan r743 - in trunk: . modules/gsane



Author: bersace
Date: Thu Dec 25 13:25:12 2008
New Revision: 743
URL: http://svn.gnome.org/viewvc/gnome-scan?rev=743&view=rev

Log:
Make GSaneOptionSource a singleton.


Modified:
   trunk/ChangeLog
   trunk/modules/gsane/gsane-option-source.c

Modified: trunk/modules/gsane/gsane-option-source.c
==============================================================================
--- trunk/modules/gsane/gsane-option-source.c	(original)
+++ trunk/modules/gsane/gsane-option-source.c	Thu Dec 25 13:25:12 2008
@@ -155,6 +155,7 @@
 
 	g_type_class_add_private(klass, sizeof(GSaneOptionSourcePrivate));
 
+	oh_class->unique = TRUE;
 	oh_class->handle_option = gsane_option_source_handle_option;
 	GSANE_OPTION_HANDLER_CLASS_INSTALL_OPTION(klass, source);
 }



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