grim/guifications2

Now completely pidginized without the crutch of gaim-compat.h
org.guifications.gf2
2007-04-11, John Bailey
cd9fbf4ea495
Now completely pidginized without the crutch of gaim-compat.h
--- a/src/gf_action.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_action.c Wed Apr 11 15:27:28 2007 -0400
@@ -31,7 +31,6 @@
#include <plugin.h>
#include <version.h>
-#include <gaim-compat.h>
#ifdef HAVE_CONFIG_H
# include "../gf_config.h"
--- a/src/gf_blist.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_blist.c Wed Apr 11 15:27:28 2007 -0400
@@ -27,7 +27,6 @@
#include <request.h>
#include <version.h>
-#include <gaim-compat.h>
#ifdef HAVE_CONFIG_H
# include "../gf_config.h"
--- a/src/gf_blist.h Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_blist.h Wed Apr 11 15:27:28 2007 -0400
@@ -28,10 +28,10 @@
G_BEGIN_DECLS
-void gf_blist_init(GaimPlugin *plugin);
+void gf_blist_init(PurplePlugin *plugin);
void gf_blist_uninit();
-GfNotification *gf_blist_get_notification_for_buddy(GaimBuddy *buddy, const gchar *n_type);
+GfNotification *gf_blist_get_notification_for_buddy(PurpleBuddy *buddy, const gchar *n_type);
G_END_DECLS
--- a/src/gf_display.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_display.c Wed Apr 11 15:27:28 2007 -0400
@@ -40,7 +40,6 @@
#include <prefs.h>
#include <version.h>
-#include <gaim-compat.h>
#include "gf_action.h"
#include "gf_event_info.h"
--- a/src/gf_display.h Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_display.h Wed Apr 11 15:27:28 2007 -0400
@@ -59,7 +59,7 @@
void gf_display_show_event(GfEventInfo *info, GfNotification *notification);
-void gf_display_init(GaimPlugin *plugin);
+void gf_display_init(PurplePlugin *plugin);
void gf_display_uninit();
#if GTK_CHECK_VERSION(2,2,0)
--- a/src/gf_event.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_event.c Wed Apr 11 15:27:28 2007 -0400
@@ -31,7 +31,6 @@
#include <util.h>
#include <version.h>
-#include <gaim-compat.h>
#ifdef HAVE_CONFIG_H
# include "../gf_config.h"
--- a/src/gf_event.h Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_event.h Wed Apr 11 15:27:28 2007 -0400
@@ -39,8 +39,6 @@
#include <plugin.h>
-#include <gaim-compat.h>
-
G_BEGIN_DECLS
GfEvent *gf_event_new(const gchar *notification_type, const gchar *tokens,
@@ -66,7 +64,7 @@
const gchar *gf_events_get_nth_name(gint nth);
const gchar *gf_events_get_nth_notification(gint nth);
-void gf_events_init(GaimPlugin *plugin);
+void gf_events_init(PurplePlugin *plugin);
void gf_events_uninit();
G_END_DECLS
--- a/src/gf_event_info.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_event_info.c Wed Apr 11 15:27:28 2007 -0400
@@ -25,7 +25,6 @@
#include <conversation.h>
#include <prefs.h>
-#include <gaim-compat.h>
#include "gf_event.h"
#include "gf_event_info.h"
--- a/src/gf_event_info.h Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_event_info.h Wed Apr 11 15:27:28 2007 -0400
@@ -45,12 +45,12 @@
GfEvent *gf_event_info_get_event(GfEventInfo *info);
-void gf_event_info_set_account(GfEventInfo *info, GaimAccount *account);
-GaimAccount *gf_event_info_get_account(GfEventInfo *info);
-void gf_event_info_set_buddy(GfEventInfo *info, GaimBuddy *buddy);
-GaimBuddy *gf_event_info_get_buddy(GfEventInfo *info);
-void gf_event_info_set_conversation(GfEventInfo *info, GaimConversation *conv);
-GaimConversation *gf_event_info_get_conversation(GfEventInfo *info);
+void gf_event_info_set_account(GfEventInfo *info, PurpleAccount *account);
+PurpleAccount *gf_event_info_get_account(GfEventInfo *info);
+void gf_event_info_set_buddy(GfEventInfo *info, PurpleBuddy *buddy);
+PurpleBuddy *gf_event_info_get_buddy(GfEventInfo *info);
+void gf_event_info_set_conversation(GfEventInfo *info, PurpleConversation *conv);
+PurpleConversation *gf_event_info_get_conversation(GfEventInfo *info);
void gf_event_info_set_target(GfEventInfo *info, const gchar *target);
const gchar *gf_event_info_get_target(GfEventInfo *info);
@@ -62,8 +62,8 @@
const GHashTable *gf_event_info_get_components(GfEventInfo *info);
void gf_event_info_set_timeout_id(GfEventInfo *info, guint timeout_id);
guint gf_event_info_get_timeout_id(GfEventInfo *info);
-void gf_event_info_set_conv_chat_buddy_flags(GfEventInfo *info, GaimConvChatBuddyFlags flags);
-GaimConvChatBuddyFlags gf_event_info_get_chat_buddy_flags(GfEventInfo *info);
+void gf_event_info_set_conv_chat_buddy_flags(GfEventInfo *info, PurpleConvChatBuddyFlags flags);
+PurpleConvChatBuddyFlags gf_event_info_get_chat_buddy_flags(GfEventInfo *info);
void gf_event_info_set_is_contact(GfEventInfo *info, gboolean value);
gboolean gf_event_info_get_is_contact(GfEventInfo *info);
void gf_event_info_set_open_action(GfEventInfo *info, GCallback open_action);
--- a/src/gf_item.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_item.c Wed Apr 11 15:27:28 2007 -0400
@@ -21,7 +21,6 @@
#include <debug.h>
-#include <gaim-compat.h>
#ifdef HAVE_CONFIG_H
# include "../gf_config.h"
--- a/src/gf_item_icon.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_item_icon.c Wed Apr 11 15:27:28 2007 -0400
@@ -27,7 +27,6 @@
#include <gtkblist.h>
#include <gtkutils.h>
-#include <gaim-compat.h>
#ifdef HAVE_CONFIG_H
# include "../gf_config.h"
--- a/src/gf_item_image.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_item_image.c Wed Apr 11 15:27:28 2007 -0400
@@ -22,7 +22,6 @@
#include <debug.h>
#include <xmlnode.h>
-#include <gaim-compat.h>
#include "gf_event_info.h"
#include "gf_gtk_utils.h"
--- a/src/gf_item_offset.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_item_offset.c Wed Apr 11 15:27:28 2007 -0400
@@ -22,7 +22,6 @@
#include <xmlnode.h>
-#include <gaim-compat.h>
#include "gf_item.h"
--- a/src/gf_item_text.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_item_text.c Wed Apr 11 15:27:28 2007 -0400
@@ -48,7 +48,6 @@
#include <xmlnode.h>
#include <version.h>
-#include <gaim-compat.h>
#ifndef _WIN32
# include <gdk/gdkx.h>
--- a/src/gf_notification.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_notification.c Wed Apr 11 15:27:28 2007 -0400
@@ -23,7 +23,6 @@
#include <debug.h>
#include <xmlnode.h>
-#include <gaim-compat.h>
#include "gf_event_info.h"
#include "gf_gtk_utils.h"
--- a/src/gf_preferences.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_preferences.c Wed Apr 11 15:27:28 2007 -0400
@@ -33,7 +33,6 @@
#include <gtkutils.h>
#include <gtkprefs.h>
-#include <gaim-compat.h>
#ifdef HAVE_CONFIG_H
# include "../gf_config.h"
--- a/src/gf_preferences.h Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_preferences.h Wed Apr 11 15:27:28 2007 -0400
@@ -53,7 +53,7 @@
G_BEGIN_DECLS
-GtkWidget *gf_preferences_get_frame(GaimPlugin *plugin);
+GtkWidget *gf_preferences_get_frame(PurplePlugin *plugin);
void gf_preferences_refresh_themes_list();
void gf_preferences_add();
--- a/src/gf_stock.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_stock.c Wed Apr 11 15:27:28 2007 -0400
@@ -20,7 +20,6 @@
#include <debug.h>
-#include <gaim-compat.h>
#ifdef HAVE_CONFIG_H
# include "../gf_config.h"
--- a/src/gf_theme.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_theme.c Wed Apr 11 15:27:28 2007 -0400
@@ -27,7 +27,6 @@
#include <util.h>
#include <xmlnode.h>
-#include <gaim-compat.h>
#ifdef HAVE_CONFIG_H
# include "../gf_config.h"
--- a/src/gf_theme_editor.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_theme_editor.c Wed Apr 11 15:27:28 2007 -0400
@@ -37,7 +37,6 @@
#include <util.h>
#include <gtkplugin.h>
-#include <gaim-compat.h>
#include "gf_event.h"
#include "gf_file.h"
--- a/src/gf_theme_editor.h Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_theme_editor.h Wed Apr 11 15:27:28 2007 -0400
@@ -25,7 +25,7 @@
G_BEGIN_DECLS
-void gf_theme_editor_init(GaimPlugin *plugin);
+void gf_theme_editor_init(PurplePlugin *plugin);
void gf_theme_editor_uninit();
void gf_theme_editor_show(const gchar *filename);
--- a/src/gf_theme_info.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_theme_info.c Wed Apr 11 15:27:28 2007 -0400
@@ -33,7 +33,6 @@
#include <debug.h>
#include <xmlnode.h>
-#include <gaim-compat.h>
GfThemeInfo *
gf_theme_info_new() {
--- a/src/gf_theme_ops.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/gf_theme_ops.c Wed Apr 11 15:27:28 2007 -0400
@@ -31,7 +31,6 @@
#include <debug.h>
#include <xmlnode.h>
-#include <gaim-compat.h>
GfThemeOptions *
gf_theme_options_new() {
--- a/src/guifications.c Wed Apr 11 05:15:38 2007 -0400
+++ b/src/guifications.c Wed Apr 11 15:27:28 2007 -0400
@@ -40,7 +40,6 @@
#include <gtkplugin.h>
#include <version.h>
-#include <gaim-compat.h>
#include <stdlib.h>
#include <time.h>