Author: akv
Date: 2009-12-20 14:22:16 +0100 (Sun, 20 Dec 2009)
New Revision: 2807

Modified:
   trunk/src/application.h
   trunk/src/rs-library.h
Log:
Moved RS_LIBRARY struct from rs-library.h to application.h.

Modified: trunk/src/application.h
===================================================================
--- trunk/src/application.h     2009-12-20 13:13:57 UTC (rev 2806)
+++ trunk/src/application.h     2009-12-20 13:22:16 UTC (rev 2807)
@@ -24,9 +24,9 @@
 #include <glib.h>
 #include <lcms.h>
 #include <stdint.h>
+#include <sqlite3.h>
 #include "rs-arch.h"
 #include "rs-cms.h"
-#include "rs-library.h"
 
 /* Check for thread support */
 #if (!defined(G_THREADS_ENABLED) || defined(G_THREADS_IMPL_NONE))
@@ -53,6 +53,11 @@
        gboolean dispose_has_run;
 } RS_PHOTO;
 
+typedef struct
+{
+       sqlite3 *db;
+} RS_LIBRARY;
+
 typedef struct {
        RS_PHOTO *photo;
        RSSettings *settings_buffer;

Modified: trunk/src/rs-library.h
===================================================================
--- trunk/src/rs-library.h      2009-12-20 13:13:57 UTC (rev 2806)
+++ trunk/src/rs-library.h      2009-12-20 13:22:16 UTC (rev 2807)
@@ -23,12 +23,8 @@
 #include <glib.h>
 #include <rawstudio.h>
 #include "sqlite3.h"
+#include "application.h"
 
-typedef struct
-{
-       sqlite3 *db;
-} RS_LIBRARY;
-
 RS_LIBRARY * rs_library_new();
 void rs_library_init(RS_LIBRARY *library);
 void rs_library_destroy(RS_LIBRARY *library);


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to