summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-05-03 12:14:05 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-05-03 12:14:05 +0000
commitabe6ebba50e723df0b6ac5c7fece98338830826f (patch)
tree9e20f66ae09a6915f4243c9a4080e914f1ff4aae
parentb509fbde6a79fadd1eaab46a7bb1d08ce1b28090 (diff)
Minor coding style cleanup
-rw-r--r--eglib/gmain.c3
-rw-r--r--eglib/gmain.h7
2 files changed, 6 insertions, 4 deletions
diff --git a/eglib/gmain.c b/eglib/gmain.c
index 037bdd26..6bb13022 100644
--- a/eglib/gmain.c
+++ b/eglib/gmain.c
@@ -63,7 +63,8 @@ struct _GMainLoop {
GMainContext *context;
};
-GIOError g_io_channel_read(GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read)
+GIOError g_io_channel_read(GIOChannel *channel, gchar *buf, gsize count,
+ gsize *bytes_read)
{
int fd = channel->fd;
gssize result;
diff --git a/eglib/gmain.h b/eglib/gmain.h
index 175872d9..0546421d 100644
--- a/eglib/gmain.h
+++ b/eglib/gmain.h
@@ -82,13 +82,14 @@ typedef enum {
#define G_PRIORITY_LOW 300
typedef void (*GDestroyNotify) (gpointer data);
-typedef gboolean (*GIOFunc) (GIOChannel *source, GIOCondition condition, gpointer data);
+typedef gboolean (*GIOFunc) (GIOChannel *source, GIOCondition condition,
+ gpointer data);
-GIOError g_io_channel_read(GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read);
+GIOError g_io_channel_read(GIOChannel *channel, gchar *buf, gsize count,
+ gsize *bytes_read);
GIOError g_io_channel_write(GIOChannel *channel, const gchar *buf, gsize count,
gsize *bytes_written);
-
void g_io_channel_close(GIOChannel *channel);
GIOChannel *g_io_channel_unix_new(int fd);