]> git.0d.be Git - empathy.git/commitdiff
Remove unneeded private struct
authorDanielle Madeley <danielle.madeley@collabora.co.uk>
Tue, 22 Dec 2009 00:29:08 +0000 (11:29 +1100)
committerDanielle Madeley <danielle.madeley@collabora.co.uk>
Tue, 22 Dec 2009 00:29:08 +0000 (11:29 +1100)
src/empathy-invite-participant-dialog.c

index f67a7feded4448f1d0f0310413bd347ac3ff5ae6..70332d1ffe5d2c9724d243978df2022af030f5cf 100644 (file)
 
 #include "empathy-invite-participant-dialog.h"
 
-#define GET_PRIVATE(obj)    (G_TYPE_INSTANCE_GET_PRIVATE ((obj), EMPATHY_TYPE_INVITE_PARTICIPANT_DIALOG, EmpathyInviteParticipantDialogPrivate))
-
 G_DEFINE_TYPE (EmpathyInviteParticipantDialog,
     empathy_invite_participant_dialog, EMPATHY_TYPE_CONTACT_SELECTOR_DIALOG);
 
-typedef struct _EmpathyInviteParticipantDialogPrivate EmpathyInviteParticipantDialogPrivate;
-struct _EmpathyInviteParticipantDialogPrivate
-{
-  int dum;
-};
-
 static void
 empathy_invite_participant_dialog_class_init (EmpathyInviteParticipantDialogClass *klass)
 {
-  GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
-
-  g_type_class_add_private (gobject_class, sizeof (EmpathyInviteParticipantDialogPrivate));
 }
 
 static void
 empathy_invite_participant_dialog_init (EmpathyInviteParticipantDialog *self)
 {
   EmpathyContactSelectorDialog *parent = EMPATHY_CONTACT_SELECTOR_DIALOG (self);
-  // EmpathyInviteParticipantDialogPrivate *priv = GET_PRIVATE (self);
   GtkWidget *label;
   char *str;