From 7fbebb427be655ee17de0b786e0ce9a3d86ea3d8 Mon Sep 17 00:00:00 2001 From: koral Date: Wed, 2 Feb 2011 16:25:54 +0100 Subject: Cleaning/commenting uzbl-core.h. --- src/callbacks.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/callbacks.c') diff --git a/src/callbacks.c b/src/callbacks.c index 7b06873..f6fe284 100644 --- a/src/callbacks.c +++ b/src/callbacks.c @@ -8,11 +8,12 @@ #include "events.h" #include "util.h" + void set_proxy_url() { SoupURI *suri; - if(uzbl.net.proxy_url == NULL || *uzbl.net.proxy_url == ' ') { + if (uzbl.net.proxy_url == NULL || *uzbl.net.proxy_url == ' ') { soup_session_remove_feature_by_type(uzbl.net.soup_session, (GType) SOUP_SESSION_PROXY_URI); } @@ -23,9 +24,11 @@ set_proxy_url() { suri, NULL); soup_uri_free(suri); } + return; } + void set_authentication_handler() { /* Check if WEBKIT_TYPE_SOUP_AUTH_DIALOG feature is set */ @@ -45,10 +48,12 @@ set_authentication_handler() { return; } + void set_status_background() { GdkColor color; gdk_color_parse (uzbl.behave.status_background, &color); + /* labels and hboxes do not draw their own background. applying this * on the vbox/main_window is ok as the statusbar is the only affected * widget. (if not, we could also use GtkEventBox) */ @@ -58,6 +63,7 @@ set_status_background() { gtk_widget_modify_bg (GTK_WIDGET(uzbl.gui.plug), GTK_STATE_NORMAL, &color); } + void set_icon() { if(file_exists(uzbl.gui.icon)) { -- cgit v1.2.3