changeset 27339:c7768f23f519

Remove the PidginMailDialog typedef.
author Paul Aurich <paul@darkrain42.org>
date Fri, 03 Jul 2009 02:35:27 +0000
parents c245c583a1a6
children fc920924cea3
files pidgin/gtknotify.c
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtknotify.c	Fri Jul 03 02:33:30 2009 +0000
+++ b/pidgin/gtknotify.c	Fri Jul 03 02:35:27 2009 +0000
@@ -100,10 +100,8 @@
 	PIDGIN_POUNCE_COLUMNS
 };
 
-typedef struct _PidginNotifyDialog PidginNotifyDialog;
-typedef PidginNotifyDialog PidginMailDialog;
 
-struct _PidginNotifyDialog
+typedef struct _PidginNotifyDialog
 {
 	/*
 	 * This must be first so PidginNotifyDialog can masquerade as the
@@ -118,7 +116,7 @@
 	GtkWidget *edit_button;
 	int total_count;
 	gboolean in_use;
-};
+} PidginNotifyDialog;
 
 typedef enum
 {
@@ -308,7 +306,7 @@
 }
 
 static void
-email_response_cb(GtkDialog *dlg, gint id, PidginMailDialog *dialog)
+email_response_cb(GtkDialog *dlg, gint id, PidginNotifyDialog *dialog)
 {
 	PidginNotifyMailData *data = NULL;
 	GtkTreeIter iter;
@@ -492,7 +490,7 @@
 }
 
 static void
-selection_changed_cb(GtkTreeSelection *sel, PidginMailDialog *dialog)
+selection_changed_cb(GtkTreeSelection *sel, PidginNotifyDialog *dialog)
 {
 	GtkTreeIter iter;
 	GtkTreeModel *model;