summaryrefslogtreecommitdiff
path: root/signalobject.h
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-13 17:53:08 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-08-13 17:53:08 -0400
commit92d5506d7fe5036999cca50d6b9b9cce3f29daff (patch)
tree485fde4af1b63e6bf42c3e746092cfc7543df440 /signalobject.h
parent21f8e7cd6cc06e25f1a49c1cf2b26879150de38f (diff)
simplify output callback by calculating string size automatically
Diffstat (limited to 'signalobject.h')
-rw-r--r--signalobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/signalobject.h b/signalobject.h
index dedb9b8..6abf273 100644
--- a/signalobject.h
+++ b/signalobject.h
@@ -22,7 +22,7 @@ typedef struct _SignalObjectClass SignalObjectClass;
struct _SignalObject {
GObject parentInstance;
gpointer instance;
- gssize (*cb)(GPollableOutputStream* stream, gchar* data, gssize size);
+ gssize (*cb)(GPollableOutputStream* stream, gchar* data);
GPollableInputStream* inStream;
GPollableOutputStream* outStream;
gchar* data;
@@ -32,7 +32,7 @@ struct _SignalObject {
struct _SignalObjectClass {
GObjectClass parent_class;
gpointer instance;
- gssize (*cb)(GPollableOutputStream* stream, gchar* data, gssize size);
+ gssize (*cb)(GPollableOutputStream* stream, gchar* data);
GPollableInputStream* inStream;
GPollableOutputStream* outStream;
gchar* data;