diff options
author | Travis Reitter <treitter@gmail.com> | 2010-06-13 07:20:24 +0800 |
---|---|---|
committer | Travis Reitter <treitter@gmail.com> | 2010-07-21 07:12:35 +0800 |
commit | c05d4cda33e0f10ce58a8afeaea0bad28af4b254 (patch) | |
tree | 878e619d91e86187ac32c65acc14b2ba30e2dac4 /libempathy-gtk/empathy-individual-view.c | |
parent | 08a9285fea7fbe9e4ff25394b72c7852a77ea750 (diff) | |
download | gsoc2013-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()
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-view.c | 32 |
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 (); |