[empathy: 14/17] Remove unneeded private struct



commit 72034a8daf617d2a02d80f8a19d05d8be792ce6d
Author: Danielle Madeley <danielle madeley collabora co uk>
Date:   Tue Dec 22 11:29:08 2009 +1100

    Remove unneeded private struct

 src/empathy-invite-participant-dialog.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/empathy-invite-participant-dialog.c b/src/empathy-invite-participant-dialog.c
index f67a7fe..70332d1 100644
--- a/src/empathy-invite-participant-dialog.c
+++ b/src/empathy-invite-participant-dialog.c
@@ -13,30 +13,18 @@
 
 #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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]