pidgin: 8dbc9873: Remove the PidginMailDialog typedef.

darkrain42 at pidgin.im darkrain42 at pidgin.im
Fri Jul 3 00:31:36 EDT 2009


-----------------------------------------------------------------
Revision: 8dbc98739d1e6fdb0b097c4bce889455922c1012
Ancestor: 1a425172514642f29633fdbae59b27b9931c47b4
Author: darkrain42 at pidgin.im
Date: 2009-07-03T02:35:27
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/8dbc98739d1e6fdb0b097c4bce889455922c1012

Modified files:
        pidgin/gtknotify.c

ChangeLog: 

Remove the PidginMailDialog typedef.

-------------- next part --------------
============================================================
--- pidgin/gtknotify.c	d743a83b04160e32c7f94a51c9dc5ea39180d6e5
+++ pidgin/gtknotify.c	b41bdecc68c52a91847502e863731a9c3c70422c
@@ -100,10 +100,8 @@ enum
 	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 @@ struct _PidginNotifyDialog
 	GtkWidget *edit_button;
 	int total_count;
 	gboolean in_use;
-};
+} PidginNotifyDialog;
 
 typedef enum
 {
@@ -308,7 +306,7 @@ static void
 }
 
 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
 }
 
 static void
-selection_changed_cb(GtkTreeSelection *sel, PidginMailDialog *dialog)
+selection_changed_cb(GtkTreeSelection *sel, PidginNotifyDialog *dialog)
 {
 	GtkTreeIter iter;
 	GtkTreeModel *model;


More information about the Commits mailing list