aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis Reitter <treitter@gmail.com>2010-06-13 07:20:24 +0800
committerTravis Reitter <treitter@gmail.com>2010-07-21 07:12:35 +0800
commitc05d4cda33e0f10ce58a8afeaea0bad28af4b254 (patch)
tree878e619d91e86187ac32c65acc14b2ba30e2dac4
parent08a9285fea7fbe9e4ff25394b72c7852a77ea750 (diff)
downloadgsoc2013-empathy-c05d4cda33e0f10ce58a8afeaea0bad28af4b254.tar
gsoc2013-empathy-c05d4cda33e0f10ce58a8afeaea0bad28af4b254.tar.gz
gsoc2013-empathy-c05d4cda33e0f10ce58a8afeaea0bad28af4b254.tar.bz2
gsoc2013-empathy-c05d4cda33e0f10ce58a8afeaea0bad28af4b254.tar.lz
gsoc2013-empathy-c05d4cda33e0f10ce58a8afeaea0bad28af4b254.tar.xz
gsoc2013-empathy-c05d4cda33e0f10ce58a8afeaea0bad28af4b254.tar.zst
gsoc2013-empathy-c05d4cda33e0f10ce58a8afeaea0bad28af4b254.zip
Fix the formatting of some calls to g_object_set()
-rw-r--r--libempathy-gtk/empathy-individual-view.c32
1 files changed, 26 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index e94ee9907..012b8ec15 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -961,7 +961,10 @@ individual_view_pixbuf_cell_data_func (GtkTreeViewColumn *tree_column,
EMPATHY_INDIVIDUAL_STORE_COL_IS_ACTIVE, &is_active,
EMPATHY_INDIVIDUAL_STORE_COL_ICON_STATUS, &pixbuf, -1);
- g_object_set (cell, "visible", !is_group, "pixbuf", pixbuf, NULL);
+ g_object_set (cell,
+ "visible", !is_group,
+ "pixbuf", pixbuf,
+ NULL);
if (pixbuf != NULL)
{
@@ -1001,7 +1004,10 @@ individual_view_group_icon_cell_data_func (GtkTreeViewColumn *tree_column,
}
out:
- g_object_set (cell, "visible", pixbuf != NULL, "pixbuf", pixbuf, NULL);
+ g_object_set (cell,
+ "visible", pixbuf != NULL,
+ "pixbuf", pixbuf,
+ NULL);
if (pixbuf != NULL)
g_object_unref (pixbuf);
@@ -1053,7 +1059,9 @@ individual_view_avatar_cell_data_func (GtkTreeViewColumn *tree_column,
EMPATHY_INDIVIDUAL_STORE_COL_IS_ACTIVE, &is_active, -1);
g_object_set (cell,
- "visible", !is_group && show_avatar, "pixbuf", pixbuf, NULL);
+ "visible", !is_group && show_avatar,
+ "pixbuf", pixbuf,
+ NULL);
if (pixbuf)
{
@@ -1484,7 +1492,11 @@ individual_view_constructed (GObject *object)
(GtkTreeCellDataFunc) individual_view_pixbuf_cell_data_func,
view, NULL);
- g_object_set (cell, "xpad", 5, "ypad", 1, "visible", FALSE, NULL);
+ g_object_set (cell,
+ "xpad", 5,
+ "ypad", 1,
+ "visible", FALSE,
+ NULL);
/* Group icon */
cell = gtk_cell_renderer_pixbuf_new ();
@@ -1495,7 +1507,11 @@ individual_view_constructed (GObject *object)
g_object_set (cell,
"xpad", 0,
- "ypad", 0, "visible", FALSE, "width", 16, "height", 16, NULL);
+ "ypad", 0,
+ "visible", FALSE,
+ "width", 16,
+ "height", 16,
+ NULL);
/* Name */
cell = empathy_cell_renderer_text_new ();
@@ -1537,7 +1553,11 @@ individual_view_constructed (GObject *object)
g_object_set (cell,
"xpad", 0,
- "ypad", 0, "visible", FALSE, "width", 32, "height", 32, NULL);
+ "ypad", 0,
+ "visible", FALSE,
+ "width", 32,
+ "height", 32,
+ NULL);
/* Expander */
cell = empathy_cell_renderer_expander_new ();