diff src/cellrenderericon.c @ 513:985fdfebd89e

Remove whitespace between function name and first parenthesis for the sake of consistency. (pass 2)
author zas_
date Thu, 24 Apr 2008 12:47:09 +0000
parents f9bf33be53ff
children 0a2b8210ef1d
line wrap: on
line diff
--- a/src/cellrenderericon.c	Thu Apr 24 12:23:02 2008 +0000
+++ b/src/cellrenderericon.c	Thu Apr 24 12:47:09 2008 +0000
@@ -108,10 +108,10 @@
 static void
 gqv_cell_renderer_icon_class_init(GQvCellRendererIconClass *class)
 {
-	GObjectClass *object_class = G_OBJECT_CLASS (class);
-	GtkCellRendererClass *cell_class = GTK_CELL_RENDERER_CLASS (class);
+	GObjectClass *object_class = G_OBJECT_CLASS(class);
+	GtkCellRendererClass *cell_class = GTK_CELL_RENDERER_CLASS(class);
 
-	parent_class = g_type_class_peek_parent (class);
+	parent_class = g_type_class_peek_parent(class);
 
 	object_class->finalize = gqv_cell_renderer_icon_finalize;
 
@@ -209,11 +209,11 @@
 {
 	GQvCellRendererIcon *cellicon = GQV_CELL_RENDERER_ICON(object);
 
-	if (cellicon->pixbuf) g_object_unref (cellicon->pixbuf);
+	if (cellicon->pixbuf) g_object_unref(cellicon->pixbuf);
 
 	g_free(cellicon->text);
 
-	(* G_OBJECT_CLASS (parent_class)->finalize)(object);
+	(*(G_OBJECT_CLASS(parent_class))->finalize)(object);
 }
 
 static void
@@ -336,7 +336,7 @@
 				    const GValue	*value,
 				    GParamSpec		*pspec)
 {
-	GQvCellRendererIcon *cellicon = GQV_CELL_RENDERER_ICON (object);
+	GQvCellRendererIcon *cellicon = GQV_CELL_RENDERER_ICON(object);
 
 	switch (param_id)
 		{
@@ -344,9 +344,9 @@
 			{
 			GdkPixbuf *pixbuf;
 
-			pixbuf = (GdkPixbuf*) g_value_get_object (value);
-			if (pixbuf) g_object_ref (pixbuf);
-			if (cellicon->pixbuf) g_object_unref (cellicon->pixbuf);
+			pixbuf = (GdkPixbuf*) g_value_get_object(value);
+			if (pixbuf) g_object_ref(pixbuf);
+			if (cellicon->pixbuf) g_object_unref(cellicon->pixbuf);
 			cellicon->pixbuf = pixbuf;
 			}
 		break;
@@ -505,12 +505,12 @@
 		if (x_offset)
 			{
 			*x_offset = (cell->xalign * (cell_area->width - calc_width - 2 * cell->xpad));
-			*x_offset = MAX (*x_offset, 0) + cell->xpad;
+			*x_offset = MAX(*x_offset, 0) + cell->xpad;
 			}
 		if (y_offset)
 			{
 			*y_offset = (cell->yalign * (cell_area->height - calc_height - 2 * cell->ypad));
-			*y_offset = MAX (*y_offset, 0) + cell->ypad;
+			*y_offset = MAX(*y_offset, 0) + cell->ypad;
 			}
 		}