aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl-core.c
diff options
context:
space:
mode:
authorGravatar Robert Manea <gotmor@gmail.com>2009-09-25 14:56:10 +0200
committerGravatar Robert Manea <gotmor@gmail.com>2009-09-25 14:56:10 +0200
commit395d6b5db2ffe9696659492287fdf8daafb1b276 (patch)
tree5ac736efbf5b796583fa299b015ea8044df3e070 /uzbl-core.c
parent6e1cc08c25c65b46fb957067fef5b5fcc61e0e91 (diff)
parent0aa4a6de044fe26c92f36871236749d6b6f3b4f1 (diff)
Merge branch 'experimental' of git://github.com/mason-larobina/uzbl into experimental
Diffstat (limited to 'uzbl-core.c')
-rw-r--r--uzbl-core.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/uzbl-core.c b/uzbl-core.c
index 4dc6ae9..4055ee8 100644
--- a/uzbl-core.c
+++ b/uzbl-core.c
@@ -406,7 +406,7 @@ send_event_socket(GString *msg) {
gsize len;
guint i=0;
- if(uzbl.comm.socket_path &&
+ if(uzbl.comm.socket_path &&
uzbl.comm.clientchan &&
uzbl.comm.clientchan->is_writeable) {
@@ -415,7 +415,7 @@ send_event_socket(GString *msg) {
while(i < uzbl.state.event_buffer->len) {
tmp = g_ptr_array_index(uzbl.state.event_buffer, i++);
- ret = g_io_channel_write_chars (uzbl.comm.clientchan,
+ ret = g_io_channel_write_chars (uzbl.comm.clientchan,
tmp->str, tmp->len,
&len, &error);
/* is g_ptr_array_free(uzbl.state.event_buffer, TRUE) enough? */
@@ -429,7 +429,7 @@ send_event_socket(GString *msg) {
uzbl.state.event_buffer = NULL;
}
if(msg) {
- ret = g_io_channel_write_chars (uzbl.comm.clientchan,
+ ret = g_io_channel_write_chars (uzbl.comm.clientchan,
msg->str, msg->len,
&len, &error);
@@ -455,10 +455,10 @@ send_event_stdout(GString *msg) {
fflush(stdout);
}
-/*
- * build event string and send over the supported interfaces
+/*
+ * build event string and send over the supported interfaces
* custom_event == NULL indicates an internal event
-*/
+*/
void
send_event(int type, const gchar *details, const gchar *custom_event) {
GString *event_message = g_string_new("");
@@ -1050,7 +1050,7 @@ struct {const char *key; CommandInfo value;} cmdlist[] =
/* a request is just semantic sugar to make things more obvious for
* the user, technically events and requests are the very same thing
*/
- { "request", {event, TRUE} },
+ { "request", {event, TRUE} },
{ "update_gui", {update_gui, TRUE} }
};
@@ -1132,7 +1132,7 @@ event(WebKitWebView *page, GArray *argv, GString *result) {
void
print(WebKitWebView *page, GArray *argv, GString *result) {
(void) page; (void) result;
- gchar* buf;
+ gchar* buf;
buf = expand(argv_idx(argv, 0), 0);
g_string_assign(result, buf);
@@ -2075,7 +2075,7 @@ parse_cmd_line(const char *ctl_line, GString *result) {
g_free(work_string);
if( strcmp(g_strchug(ctlstrip), "") &&
- strcmp(exp_line = expand(ctlstrip, 0), "")
+ strcmp(exp_line = expand(ctlstrip, 0), "")
) {
/* ignore comments */
if((exp_line[0] == '#'))