Author: abrander
Date: 2009-10-15 17:50:30 +0200 (Thu, 15 Oct 2009)
New Revision: 2722

Modified:
   trunk/librawstudio/rs-filter-request.c
   trunk/librawstudio/rs-filter-request.h
   trunk/librawstudio/rs-filter-response.c
   trunk/librawstudio/rs-filter-response.h
Log:
Made RSFilterResponse and RSFilterRequest inherit from RSFilterParam.

Modified: trunk/librawstudio/rs-filter-request.c
===================================================================
--- trunk/librawstudio/rs-filter-request.c      2009-10-15 15:48:36 UTC (rev 
2721)
+++ trunk/librawstudio/rs-filter-request.c      2009-10-15 15:50:30 UTC (rev 
2722)
@@ -21,13 +21,13 @@
 #include "rs-filter-request.h"
 
 struct _RSFilterRequest {
-       GObject parent;
+       RSFilterParam parent;
        gboolean roi_set;
        GdkRectangle roi;
        gboolean quick;
 };
 
-G_DEFINE_TYPE(RSFilterRequest, rs_filter_request, G_TYPE_OBJECT)
+G_DEFINE_TYPE(RSFilterRequest, rs_filter_request, RS_TYPE_FILTER_PARAM)
 
 static void
 rs_filter_request_finalize(GObject *object)

Modified: trunk/librawstudio/rs-filter-request.h
===================================================================
--- trunk/librawstudio/rs-filter-request.h      2009-10-15 15:48:36 UTC (rev 
2721)
+++ trunk/librawstudio/rs-filter-request.h      2009-10-15 15:50:30 UTC (rev 
2722)
@@ -21,6 +21,7 @@
 #define RS_FILTER_REQUEST_H
 
 #include <glib-object.h>
+#include "rs-filter-param.h"
 
 G_BEGIN_DECLS
 
@@ -34,7 +35,7 @@
 typedef struct _RSFilterRequest RSFilterRequest;
 
 typedef struct {
-       GObjectClass parent_class;
+       RSFilterParamClass parent_class;
 } RSFilterRequestClass;
 
 GType rs_filter_request_get_type(void);

Modified: trunk/librawstudio/rs-filter-response.c
===================================================================
--- trunk/librawstudio/rs-filter-response.c     2009-10-15 15:48:36 UTC (rev 
2721)
+++ trunk/librawstudio/rs-filter-response.c     2009-10-15 15:50:30 UTC (rev 
2722)
@@ -20,7 +20,7 @@
 #include "rs-filter-response.h"
 
 struct _RSFilterResponse {
-       GObject parent;
+       RSFilterParam parent;
        gboolean dispose_has_run;
 
        gboolean roi_set;
@@ -32,7 +32,7 @@
        GHashTable *properties;
 };
 
-G_DEFINE_TYPE(RSFilterResponse, rs_filter_response, G_TYPE_OBJECT)
+G_DEFINE_TYPE(RSFilterResponse, rs_filter_response, RS_TYPE_FILTER_PARAM)
 
 static void
 rs_filter_response_dispose(GObject *object)

Modified: trunk/librawstudio/rs-filter-response.h
===================================================================
--- trunk/librawstudio/rs-filter-response.h     2009-10-15 15:48:36 UTC (rev 
2721)
+++ trunk/librawstudio/rs-filter-response.h     2009-10-15 15:50:30 UTC (rev 
2722)
@@ -23,6 +23,7 @@
 #include <glib-object.h>
 #include <gtk/gtk.h>
 #include <rs-types.h>
+#include "rs-filter-param.h"
 
 G_BEGIN_DECLS
 
@@ -36,7 +37,7 @@
 typedef struct _RSFilterResponse RSFilterResponse;
 
 typedef struct {
-  GObjectClass parent_class;
+  RSFilterParamClass parent_class;
 } RSFilterResponseClass;
 
 GType rs_filter_response_get_type(void);


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

Reply via email to