[empathy] coding style fixes
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] coding style fixes
- Date: Wed, 18 May 2011 13:40:59 +0000 (UTC)
commit fa5df0324942721999ae2dd7ad8425379fbc59c9
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue May 17 10:03:16 2011 +0200
coding style fixes
src/empathy-invite-participant-dialog.c | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c
index 743c460..bdae6bf 100644
--- a/src/empathy-invite-participant-dialog.c
+++ b/src/empathy-invite-participant-dialog.c
@@ -14,7 +14,7 @@
#include "empathy-invite-participant-dialog.h"
-#include "libempathy-gtk/empathy-individual-view.h"
+#include <libempathy-gtk/empathy-individual-view.h>
G_DEFINE_TYPE (EmpathyInviteParticipantDialog,
empathy_invite_participant_dialog, GTK_TYPE_DIALOG);
@@ -202,7 +202,7 @@ filter_func (GtkTreeModel *model,
if (handle == 0)
handle = empathy_contact_get_handle (member);
- if (handle == tp_contact_get_handle (contact))
+ if (handle == tp_contact_get_handle (contact))
{
display = FALSE;
break;
@@ -218,9 +218,6 @@ filter_func (GtkTreeModel *model,
static void
empathy_invite_participant_dialog_init (EmpathyInviteParticipantDialog *self)
{
- EmpathyInviteParticipantDialogPrivate *priv = G_TYPE_INSTANCE_GET_PRIVATE (
- self, EMPATHY_TYPE_INVITE_PARTICIPANT_DIALOG,
- EmpathyInviteParticipantDialogPrivate);
GtkDialog *dialog = GTK_DIALOG (self);
GtkWidget *label;
char *str;
@@ -229,7 +226,9 @@ empathy_invite_participant_dialog_init (EmpathyInviteParticipantDialog *self)
GtkTreeSelection *selection;
GtkWidget *scroll;
- self->priv = priv;
+ self->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+ self, EMPATHY_TYPE_INVITE_PARTICIPANT_DIALOG,
+ EmpathyInviteParticipantDialogPrivate);
content = gtk_dialog_get_content_area (dialog);
@@ -253,8 +252,8 @@ empathy_invite_participant_dialog_init (EmpathyInviteParticipantDialog *self)
empathy_individual_store_set_show_groups (self->priv->store, FALSE);
- self->priv->view = empathy_individual_view_new (self->priv->store,
- EMPATHY_INDIVIDUAL_VIEW_FEATURE_NONE , EMPATHY_INDIVIDUAL_FEATURE_NONE);
+ self->priv->view = empathy_individual_view_new (self->priv->store,
+ EMPATHY_INDIVIDUAL_VIEW_FEATURE_NONE, EMPATHY_INDIVIDUAL_FEATURE_NONE);
empathy_individual_view_set_custom_filter (self->priv->view,
filter_func, self);
@@ -306,7 +305,7 @@ empathy_invite_participant_dialog_get_selected (
FolksIndividual *individual;
TpContact *contact;
- individual = empathy_individual_view_dup_selected (self->priv->view);
+ individual = empathy_individual_view_dup_selected (self->priv->view);
if (individual == NULL)
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]