aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-17 16:03:16 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-18 21:40:10 +0800
commitfa5df0324942721999ae2dd7ad8425379fbc59c9 (patch)
treeeafb612dba387e1176e91ff8031bb4643688029e
parent6dc60aa53c3c458653417ddef1e3e9f3eb4debf2 (diff)
downloadgsoc2013-empathy-fa5df0324942721999ae2dd7ad8425379fbc59c9.tar
gsoc2013-empathy-fa5df0324942721999ae2dd7ad8425379fbc59c9.tar.gz
gsoc2013-empathy-fa5df0324942721999ae2dd7ad8425379fbc59c9.tar.bz2
gsoc2013-empathy-fa5df0324942721999ae2dd7ad8425379fbc59c9.tar.lz
gsoc2013-empathy-fa5df0324942721999ae2dd7ad8425379fbc59c9.tar.xz
gsoc2013-empathy-fa5df0324942721999ae2dd7ad8425379fbc59c9.tar.zst
gsoc2013-empathy-fa5df0324942721999ae2dd7ad8425379fbc59c9.zip
coding style fixes
-rw-r--r--src/empathy-invite-participant-dialog.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c
index 743c460af..bdae6bf82 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;