gegl r2226 - in trunk: . gegl



Author: ok
Date: Wed Apr 23 23:38:12 2008
New Revision: 2226
URL: http://svn.gnome.org/viewvc/gegl?rev=2226&view=rev

Log:
* gegl/gegl-init.c: (gegl_get_version): add back accidentally removed
gegl_get_version.


Modified:
   trunk/ChangeLog
   trunk/gegl/gegl-init.c

Modified: trunk/gegl/gegl-init.c
==============================================================================
--- trunk/gegl/gegl-init.c	(original)
+++ trunk/gegl/gegl-init.c	Wed Apr 23 23:38:12 2008
@@ -311,7 +311,20 @@
   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 }
 
-
+void     
+gegl_get_version (int *major,   
+                  int *minor,   
+                  int *micro)   
+{       
+  if (major != NULL)    
+    *major = GEGL_MAJOR_VERSION;        
+                 
+  if (minor != NULL)    
+    *minor = GEGL_MINOR_VERSION;        
+                 
+  if (micro != NULL)    
+    *micro = GEGL_MICRO_VERSION;        
+}
 
 
 static gboolean



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