about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-02-02 02:12:32 +0000
committerMarco Peereboom <marco@conformal.com>2011-02-02 02:12:32 +0000
commit627dadcdab0865226e121deb4d2c95b4147db92e (patch)
tree34e3972050334592e2a9dd13f0850171b01bb2b4
parentdbd705ca9c9ae5a9bff95ce65de6c1b1f4b012ab (diff)
downloadxombrero-627dadcdab0865226e121deb4d2c95b4147db92e.tar.gz
couple of knfs
-rw-r--r--xxxterm.c25
1 files changed, 16 insertions, 9 deletions
diff --git a/xxxterm.c b/xxxterm.c
index a594df6..e226d2a 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -1086,7 +1086,8 @@ guess_url_type(char *url_in)
 		return (url_out);
 
 	if (guess_search) {
-		/* If there is no dot nor slash in the string and it isn't a
+		/*
+		 * If there is no dot nor slash in the string and it isn't a
 		 * path to a local file and doesn't resolves to an IP, assume
 		 * that the user wants to search for the string.
 		 */
@@ -1626,7 +1627,8 @@ hint(struct tab *t, struct karg *args)
 	return (0);
 }
 
-/* Doesn't work fully, due to the following bug:
+/*
+ * Doesn't work fully, due to the following bug:
  * https://bugs.webkit.org/show_bug.cgi?id=51747
  */
 int
@@ -2448,7 +2450,8 @@ ca_cmd(struct tab *t, struct karg *args)
 	dt.data = certs_buf;
 	dt.size = sb.st_size;
 	c = g_malloc(sizeof(gnutls_x509_crt_t) * certs);
-	certs_read = gnutls_x509_crt_list_import(c, &certs, &dt, GNUTLS_X509_FMT_PEM, 0);
+	certs_read = gnutls_x509_crt_list_import(c, &certs, &dt,
+	    GNUTLS_X509_FMT_PEM, 0);
 	if (certs_read <= 0) {
 		show_oops(t, "No cert(s) available");
 		goto done;
@@ -4872,13 +4875,17 @@ done:
 		gtk_widget_modify_base(t->uri_entry, GTK_STATE_NORMAL, &color);
 
 		if (!strcmp(col_str, "white")) {
-			gtk_widget_modify_text(t->statusbar, GTK_STATE_NORMAL, &color);
+			gtk_widget_modify_text(t->statusbar, GTK_STATE_NORMAL,
+			    &color);
 			gdk_color_parse("black", &color);
-			gtk_widget_modify_base(t->statusbar, GTK_STATE_NORMAL, &color);
+			gtk_widget_modify_base(t->statusbar, GTK_STATE_NORMAL,
+			    &color);
 		} else {
-			gtk_widget_modify_base(t->statusbar, GTK_STATE_NORMAL, &color);
+			gtk_widget_modify_base(t->statusbar, GTK_STATE_NORMAL,
+			    &color);
 			gdk_color_parse("black", &color);
-			gtk_widget_modify_text(t->statusbar, GTK_STATE_NORMAL, &color);
+			gtk_widget_modify_text(t->statusbar, GTK_STATE_NORMAL,
+			    &color);
 		}
 	}
 }
@@ -5205,7 +5212,6 @@ notify_load_status_cb(WebKitWebView* wview, GParamSpec* pspec, struct tab *t)
 	/* take focus if we are visible */
 	t->focus_wv = 1;
 	focus_webview(t);
-
 }
 
 void
@@ -5357,7 +5363,8 @@ webview_mimetype_cb(WebKitWebView *wv, WebKitWebFrame *frame,
 }
 
 int
-webview_download_cb(WebKitWebView *wv, WebKitDownload *wk_download, struct tab *t)
+webview_download_cb(WebKitWebView *wv, WebKitDownload *wk_download,
+    struct tab *t)
 {
 	const gchar		*filename;
 	char			*uri = NULL;
24' href='#n224'>224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407