gtk/plugins/perl/common/gtkmodule.h

Tue, 17 Oct 2006 08:13:41 +0000

author
Etan Reisner <deryni@pidgin.im>
date
Tue, 17 Oct 2006 08:13:41 +0000
changeset 14801
6554d4d17db8
parent 14649
38e6b75e6769
permissions
-rw-r--r--

[gaim-migrate @ 17495]
This should fix the statusbox issues that were keeping us from releasing beta
4 (and which were just really annoying). Thakn sadrul for most of this, I just
added the if (index == -1) bit. Anyway, the way this works now is that for
saved/popular statuses the primitive underlying that status is where the
dropdown for the statusbox starts. If we don't like that we can change it but
I'm not sure we'll find something better.

Also, this might plug a couple leaks, I'm not really sure but it certainly
looks right.

Up next, the patch to make the docklet use the per-protocol statuses in the
top section.

typedef struct group *Gaim__GtkUI__Group;

#define group perl_group

#include <glib.h>
#include <gtk/gtk.h>
#ifdef _WIN32
#undef pipe
#endif
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>

#undef group

#include <plugins/perl/common/module.h>

#include "gtkaccount.h"
#include "gtkblist.h"
#include "gtkconn.h"
#include "gtkconv.h"
#include "gtkconvwin.h"
#include "gtkdebug.h"
#include "gtkdialogs.h"
#include "gtkft.h"
#include "gtkimhtml.h"
#include "gtkimhtmltoolbar.h"
#include "gtklog.h"
#include "gtkmenutray.h"
#include "gtkplugin.h"
#include "gtkpluginpref.h"
#include "gtkpounce.h"
#include "gtkprefs.h"
#include "gtkprivacy.h"
#include "gtkroomlist.h"
#include "gtksavedstatuses.h"
#include "gtksession.h"
#include "gtksound.h"
#include "gtkstatusbox.h"
#include "gtkthemes.h"
#include "gtkutils.h"

/* gtkaccount.h */
typedef GaimGtkAccountDialogType			Gaim__GtkUI__Account__Dialog__Type;

/* gtkblist.h */
typedef GaimGtkBuddyList *				Gaim__GtkUI__BuddyList;
typedef gaim_gtk_blist_sort_function			Gaim__GtkUI__BuddyList__SortFunction;

/* gtkconv.h */
typedef GaimGtkConversation *				Gaim__GtkUI__Conversation;
typedef GaimUnseenState					Gaim__UnseenState;

/* gtkconvwin.h */
typedef GaimGtkWindow *					Gaim__GtkUI__Conversation__Window;
typedef GaimConvPlacementFunc				Gaim__Conversation__PlacementFunc;

/* gtkft.h */
typedef GaimGtkXferDialog *				Gaim__GtkUI__Xfer__Dialog;

/* gtkimhtml.h */
typedef GtkIMHtml *					Gaim__GtkUI__IMHtml;
typedef GtkIMHtmlButtons				Gaim__GtkUI__IMHtml__Buttons;
typedef GtkIMHtmlFuncs *				Gaim__GtkUI__IMHtml__Funcs;
typedef GtkIMHtmlScalable *				Gaim__GtkUI__IMHtml__Scalable;
typedef GtkIMHtmlSmiley *				Gaim__GtkUI__IMHtml__Smiley;
typedef GtkIMHtmlOptions				Gaim__GtkUI__IMHtml__Options;

/* gtkimhtmltoolbar.h */
typedef GtkIMHtmlToolbar *				Gaim__GtkUI__IMHtmlToolbar;

/* gtkmenutray.h */
typedef GaimGtkMenuTray *				Gaim__GtkUI__MenuTray;

/* gtkstatusbox.h */
typedef GtkGaimStatusBox *				Gaim__GtkUI__StatusBox;

mercurial