From: <de...@us...> - 2006-09-04 04:08:14
|
Revision: 17152 http://svn.sourceforge.net/gaim/?rev=17152&view=rev Author: deryni9 Date: 2006-09-03 21:08:07 -0700 (Sun, 03 Sep 2006) Log Message: ----------- I'm not sure how I put these in the wrong place to being with, but this is where they belong. Modified Paths: -------------- trunk/gtk/plugins/perl/common/GtkPluginPref.xs trunk/gtk/plugins/perl/common/GtkPrefs.xs Modified: trunk/gtk/plugins/perl/common/GtkPluginPref.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkPluginPref.xs 2006-09-04 03:58:23 UTC (rev 17151) +++ trunk/gtk/plugins/perl/common/GtkPluginPref.xs 2006-09-04 04:08:07 UTC (rev 17152) @@ -6,64 +6,7 @@ Gtk::Widget gaim_gtk_plugin_pref_create_frame(frame) Gaim::PluginPref::Frame frame - -Gtk::Widget -gaim_gtk_prefs_checkbox(title, key, page) - const char * title - const char * key - Gtk::Widget page - -Gtk::Widget -gaim_gtk_prefs_labeled_spin_button(page, title, key, min, max, sg) - Gtk::Widget page - const gchar * title - const char * key - int min - int max - Gtk::Size::Group sg - -Gtk::Widget -gaim_gtk_prefs_labeled_entry(page, title, key, sg) - Gtk::Widget page - const gchar * title - const char * key - Gtk::Size::Group sg */ -/* TODO I don't know how to handle this in XS -Gtk::Widget -gaim_gtk_prefs_dropdown(page, title, type, key, ...) - Gtk::Widget page - const gchar * title - Gaim::Pref::Type type - const char * key - -*/ - -/* This can't work at the moment since I don't have a typemap for Gtk::Widget. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. -Gtk::Widget -gaim_gtk_prefs_dropdown_from_list(page, title, type, key, menuitems) - Gtk::Widget page - const gchar * title - Gaim::Pref::Type type - const char * key - SV *menuitems -PREINIT: - GList *t_GL; - int i, t_len; -CODE: - t_GL = NULL; - t_len = av_len((AV *)SvRV(menuitems)); - - for ( i = 0; i < t_len; i++) { - STRLEN t_sl; - t_GL = g_list_append(t_GL, SvPV(*av_fetch((AV *)SvRV(menuitems), i, 0), t_sl)); - RETVAL = gaim_gtk_prefs_dropdown_from_list(page, title, type, key, t_GL); -OUTPUT: - RETVAL -*/ - MODULE = Gaim::Gtk::PluginPref PACKAGE = Gaim::Gtk::PluginPref PREFIX = gaim_gtk_plugin_pref_ PROTOTYPES: ENABLE Modified: trunk/gtk/plugins/perl/common/GtkPrefs.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkPrefs.xs 2006-09-04 03:58:23 UTC (rev 17151) +++ trunk/gtk/plugins/perl/common/GtkPrefs.xs 2006-09-04 04:08:07 UTC (rev 17152) @@ -1,8 +1,74 @@ #include "gtkmodule.h" +/* This can't work at the moment since I don't have a typemap for Gtk::Widget. + * I thought about using the one from libgtk2-perl but wasn't sure how to go + * about doing that. +Gtk::Widget +gaim_gtk_prefs_checkbox(title, key, page) + const char * title + const char * key + Gtk::Widget page + +Gtk::Widget +gaim_gtk_prefs_labeled_spin_button(page, title, key, min, max, sg) + Gtk::Widget page + const gchar * title + const char * key + int min + int max + Gtk::Size::Group sg + +Gtk::Widget +gaim_gtk_prefs_labeled_entry(page, title, key, sg) + Gtk::Widget page + const gchar * title + const char * key + Gtk::Size::Group sg + +TODO Test this carefully, I'm not at all confident in the loop. +Gtk::Widget +gaim_gtk_prefs_dropdown(page, title, type, key, ...) + Gtk::Widget page + const gchar * title + Gaim::Pref::Type type + const char * key +PREINIT: + GList *t_GL; + int i; +CODE: + t_GL = NULL; + for (i = 0; i < items; i++) { + if (type == GAIM_PREF_INT || type == GAIM_PREF_BOOLEAN) { + t_GL = g_list_append(t_GL, SvIV(ST(i+1))); + else { + t_GL = g_list_append(t_GL, SvPV(ST(i+1))); + } + } + +Gtk::Widget +gaim_gtk_prefs_dropdown_from_list(page, title, type, key, menuitems) + Gtk::Widget page + const gchar * title + Gaim::Pref::Type type + const char * key + SV *menuitems +PREINIT: + GList *t_GL; + int i, t_len; +CODE: + t_GL = NULL; + t_len = av_len((AV *)SvRV(menuitems)); + + for ( i = 0; i < t_len; i++) { + STRLEN t_sl; + t_GL = g_list_append(t_GL, SvPV(*av_fetch((AV *)SvRV(menuitems), i, 0), t_sl)); + RETVAL = gaim_gtk_prefs_dropdown_from_list(page, title, type, key, t_GL); +OUTPUT: + RETVAL +*/ + MODULE = Gaim::Gtk::Prefs PACKAGE = Gaim::Gtk::Prefs PREFIX = gaim_gtk_prefs_ PROTOTYPES: ENABLE void gaim_gtk_prefs_show() - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <de...@us...> - 2006-09-18 04:22:59
|
Revision: 17303 http://svn.sourceforge.net/gaim/?rev=17303&view=rev Author: deryni9 Date: 2006-09-17 21:22:44 -0700 (Sun, 17 Sep 2006) Log Message: ----------- Remove a bunch of functions that are commented out because they can't work currently, they'll come back if I can get the actual Gtk2 perl stuff to not crash, but they were just taking up space and getting in my way (since they are removed already in my other tree). Modified Paths: -------------- trunk/gtk/plugins/perl/common/GtkBlist.xs trunk/gtk/plugins/perl/common/GtkConv.xs trunk/gtk/plugins/perl/common/GtkPlugin.xs trunk/gtk/plugins/perl/common/GtkPluginPref.xs trunk/gtk/plugins/perl/common/GtkPrefs.xs trunk/gtk/plugins/perl/common/GtkSavedStatuses.xs trunk/gtk/plugins/perl/common/GtkUtils.xs Modified: trunk/gtk/plugins/perl/common/GtkBlist.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkBlist.xs 2006-09-18 03:17:11 UTC (rev 17302) +++ trunk/gtk/plugins/perl/common/GtkBlist.xs 2006-09-18 04:22:44 UTC (rev 17303) @@ -1,43 +1,5 @@ #include "gtkmodule.h" -/* This can't work at the moment since I don't have a typemap for Gtk::Widget. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. - -void -gaim_gtk_blist_make_buddy_menu(menu, buddy, sub) - Gtk::Widget menu - Gaim::Buddy buddy - gboolean sub -*/ - -/* This can't work at the moment since I don't have a typemap for Gdk::Pixbuf. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. - -GdkPixbuf -gaim_gtk_blist_get_status_icon(node, size) - Gaim::BuddyList::Node node - Gaim::Status::IconSize size -*/ - -/* This can't work at the moment since I don't have a typemap for Gtk::Widget. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. - -void -gaim_gtk_append_blist_node_proto_menu(menu, gc, node) - Gtk::Widget menu - Gaim::Connection gc - Gaim::BuddyList::Node node - -void -gaim_gtk_append_blist_node_extended_menu(menu, node) - Gtk::Widget menu - Gaim::Connection gc - Gaim::BuddyList::Node node -*/ - MODULE = Gaim::GtkUI::BuddyList PACKAGE = Gaim::GtkUI::BuddyList PREFIX = gaim_gtk_blist_ PROTOTYPES: ENABLE Modified: trunk/gtk/plugins/perl/common/GtkConv.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkConv.xs 2006-09-18 03:17:11 UTC (rev 17302) +++ trunk/gtk/plugins/perl/common/GtkConv.xs 2006-09-18 04:22:44 UTC (rev 17303) @@ -1,44 +1,5 @@ #include "gtkmodule.h" -/* This can't work at the moment since I don't have a typemap for Gtk::Widget. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. -guint -gaim_gtk_conversations_fill_menu(menu, convs) - Gtk::Widget menu - SV *convs -PREINIT: - GList *t_GL; - int i, t_len; -PPCODE: - t_GL = NULL; - t_len = av_len((AV *)SvRV(convs)); - - for (i = 0; i < t_len; i++) { - STRLEN t_sl; - t_GL = g_list_append(t_GL, SvPV(*av_fetch((AV *)SvRV(convs), i, 0), t_sl)); - } - gaim_gtk_conversations_fill_menu(menu, t_GL); -*/ - -/* This can't work at the moment since I don't have a typemap for Gtk::Widget. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. -GdkPixbuf -gaim_gtkconv_get_tab_icon(conv, small_icon) - Gaim::Conversation conv - gboolean small_icon -*/ - -/* This can't work at the moment since I don't have a typemap for gboolean *. -int -gaim_gtkconv_get_tab_at_xy(win, x, y, to_right) - Gaim::GtkUI::Conversation::Window win - int x - int y - gboolean * to_right -*/ - MODULE = Gaim::GtkUI::Conversation PACKAGE = Gaim::GtkUI::Conversation PREFIX = gaim_gtkconv_ PROTOTYPES: ENABLE Modified: trunk/gtk/plugins/perl/common/GtkPlugin.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkPlugin.xs 2006-09-18 03:17:11 UTC (rev 17302) +++ trunk/gtk/plugins/perl/common/GtkPlugin.xs 2006-09-18 04:22:44 UTC (rev 17303) @@ -1,16 +1,5 @@ #include "gtkmodule.h" -/* This can't work at the moment since I don't have a typemap for Gtk::Widget. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. -Gtk::Widget -gaim_gtk_plugin_get_config_frame(plugin) - Gaim::Plugin plugin -*/ - -MODULE = Gaim::GtkUI::Plugin PACKAGE = Gaim::GtkUI::Plugin PREFIX = gaim_gtk_plugin_ -PROTOTYPES: ENABLE - MODULE = Gaim::GtkUI::Plugin PACKAGE = Gaim::GtkUI::Plugins PREFIX = gaim_gtk_plugins_ PROTOTYPES: ENABLE Modified: trunk/gtk/plugins/perl/common/GtkPluginPref.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkPluginPref.xs 2006-09-18 03:17:11 UTC (rev 17302) +++ trunk/gtk/plugins/perl/common/GtkPluginPref.xs 2006-09-18 04:22:44 UTC (rev 17303) @@ -1,12 +1,4 @@ #include "gtkmodule.h" -/* This can't work at the moment since I don't have a typemap for Gtk::Widget. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. -Gtk::Widget -gaim_gtk_plugin_pref_create_frame(frame) - Gaim::PluginPref::Frame frame -*/ - MODULE = Gaim::GtkUI::PluginPref PACKAGE = Gaim::GtkUI::PluginPref PREFIX = gaim_gtk_plugin_pref_ PROTOTYPES: ENABLE Modified: trunk/gtk/plugins/perl/common/GtkPrefs.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkPrefs.xs 2006-09-18 03:17:11 UTC (rev 17302) +++ trunk/gtk/plugins/perl/common/GtkPrefs.xs 2006-09-18 04:22:44 UTC (rev 17303) @@ -1,72 +1,5 @@ #include "gtkmodule.h" -/* This can't work at the moment since I don't have a typemap for Gtk::Widget. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. -Gtk::Widget -gaim_gtk_prefs_checkbox(title, key, page) - const char * title - const char * key - Gtk::Widget page - -Gtk::Widget -gaim_gtk_prefs_labeled_spin_button(page, title, key, min, max, sg) - Gtk::Widget page - const gchar * title - const char * key - int min - int max - Gtk::Size::Group sg - -Gtk::Widget -gaim_gtk_prefs_labeled_entry(page, title, key, sg) - Gtk::Widget page - const gchar * title - const char * key - Gtk::Size::Group sg - -TODO Test this carefully, I'm not at all confident in the loop. -Gtk::Widget -gaim_gtk_prefs_dropdown(page, title, type, key, ...) - Gtk::Widget page - const gchar * title - Gaim::Pref::Type type - const char * key -PREINIT: - GList *t_GL; - int i; -CODE: - t_GL = NULL; - for (i = 0; i < items; i++) { - if (type == GAIM_PREF_INT || type == GAIM_PREF_BOOLEAN) { - t_GL = g_list_append(t_GL, SvIV(ST(i+1))); - else { - t_GL = g_list_append(t_GL, SvPV(ST(i+1))); - } - } - -Gtk::Widget -gaim_gtk_prefs_dropdown_from_list(page, title, type, key, menuitems) - Gtk::Widget page - const gchar * title - Gaim::Pref::Type type - const char * key - SV *menuitems -PREINIT: - GList *t_GL; - int i, t_len; -CODE: - t_GL = NULL; - t_len = av_len((AV *)SvRV(menuitems)); - - for ( i = 0; i < t_len; i++) { - STRLEN t_sl; - t_GL = g_list_append(t_GL, SvPV(*av_fetch((AV *)SvRV(menuitems), i, 0), t_sl)); - RETVAL = gaim_gtk_prefs_dropdown_from_list(page, title, type, key, t_GL); -OUTPUT: - RETVAL -*/ - MODULE = Gaim::GtkUI::Prefs PACKAGE = Gaim::GtkUI::Prefs PREFIX = gaim_gtk_prefs_ PROTOTYPES: ENABLE Modified: trunk/gtk/plugins/perl/common/GtkSavedStatuses.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkSavedStatuses.xs 2006-09-18 03:17:11 UTC (rev 17302) +++ trunk/gtk/plugins/perl/common/GtkSavedStatuses.xs 2006-09-18 04:22:44 UTC (rev 17303) @@ -1,16 +1,5 @@ #include "gtkmodule.h" -/* This can't work at the moment since I don't have a typemap for Gtk::Widget. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. - * This also has a GCallback issue that I have no idea how to deal with, - * though the core-perl typemap has a mapping for them. -Gtk::Widget -gaim_gtk_status_menu(status, callback) - Gaim::SavedStatus status - GCallback callback -*/ - MODULE = Gaim::GtkUI::Status PACKAGE = Gaim::GtkUI::Status PREFIX = gaim_gtk_status_ PROTOTYPES: ENABLE Modified: trunk/gtk/plugins/perl/common/GtkUtils.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkUtils.xs 2006-09-18 03:17:11 UTC (rev 17302) +++ trunk/gtk/plugins/perl/common/GtkUtils.xs 2006-09-18 04:22:44 UTC (rev 17303) @@ -1,197 +1,5 @@ #include "gtkmodule.h" -/* This can't work at the moment since I don't have a typemap for Gtk::Widget. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. -void -gaim_setup_imhtml(imhtml) - Gtk::Widget imhtml - -Gtk::Widget -gaim_gtk_create_imhtml(editable, imhtml_ret, toolbar_ret, sw_ret) - gboolean editable - GtkWidget ** imhtml_ret - GtkWidget ** toolbar_ret - GtkWidget ** sw_ret - -void -gaim_gtk_toggle_sensitive(widget, to_toggle) - Gtk::Widget widget - Gtk::Widget to_toggle - -void -gaim_gtk_set_sensitive_if_input(entry, dialog) - Gtk::Widget entry - Gtk::Widget dialog - -void -gaim_gtk_toggle_sensitive_array(w, data) - Gtk::Widget w - GPtrArray data - -void -gaim_gtk_toggle_showhide(widget, to_toggle) - Gtk::Widget widget - Gtk::Widget to_toggle - -void -gaim_separator(menu) - Gtk::Widget menu - -Gtk::Widget -gaim_new_item(menu, str) - Gtk::Widget menu - const char * str - -Gtk::Widget -gaim_new_check_item(menu, str, sf, data, checked) - Gtk::Widget menu - const char * str - GtkSignalFunc sf - gpointer data - gboolean checked - -Gtk::Widget -gaim_new_item_from_stock(menu, str, icon, sf, data, accel_key, accel_mods, mod) - Gtk::Widget menu - const char * str - const char * icon - GtkSignalFunc sf - gpointer data - guint accel_key - guint accel_mods - char * mod - -Gtk::Widget -gaim_pixbuf_button_from_stock(text, icon, style) - const char * text - const char * icon - Gaim::ButtonOrientation style - -Gtk::Widget -gaim_gtk_make_frame(parent, title) - Gtk::Widget parent - const char * title - -Gtk::Widget -gaim_gtk_protocol_option_menu_new(id, cb, user_data) - const char * id - GCallback cb - gpointer user_data - -Gtk::Widget -gaim_gtk_account_option_menu_new(default_account, show_all, cb, filter_func, user_data) - Gaim::Account account - gboolean show_all - GCallback cb - Gaim::Account::FilterFunc filter_func - gpointer user_data - -Gaim::Account -gaim_gtk_account_option_menu_get_selected(optmenu) - Gtk::Widget optmenu - -void -gaim_gtk_account_option_menu_set_selected(optmenu, account) - Gtk::Widget optmenu - Gaim::Account account - -void -gaim_gtk_setup_screenname_autocomplete(entry, optmenu, all) - Gtk::Widget entry - Gtk::Widget optmenu - gboolean all - -gboolean -gaim_gtk_check_if_dir(path, filesel) - const char * path - Gtk::FileSelection filesel - -void -gaim_gtk_setup_gtkspell(textview) - Gtk::TextView textview - -void -gaim_gtk_save_accels_cb(accel_group, arg1, arg2, arg3, data) - Gtk::AccelGroup accel_group - guint arg1 - Gdk::ModifierType arg2 - GClosure arg3 - gpointer data -*/ - -/* TODO This needs GaimAccount ** -gboolean -gaim_gtk_parse_x_im_contact(msg, all_accounts, ret_account, ret_protocol, ret_username, ret_alias) - const char * msg - gboolean all_accounts - Gaim::Account ret_account - char ** ret_protocol - char ** ret_username - char ** ret_alias -*/ - -/* This can't work at the moment since I don't have a typemap for Gtk::Widget. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. -void -gaim_set_accessible_lable(w, l) - Gtk::Widget w - Gtk::Widget l - -void -gaim_gtk_treeview_popup_menu_position_func(menu, x, y, push_in, user_data) - Gtk::Menu menu - gint x - gint y - gboolean push_in - gpointer user_data - -void -gaim_dnd_file_manage(sd, account, who) - Gtk::SelectionData sd - Gaim::Account account - const char * who - -void -gaim_gtk_buddy_icon_get_scale_size(buf, spec, width, height) - Gdk::Pixbuf buf - Gaim::Buddy::Icon::Spec spec - int width - int height - -Gdk::Pixbuf -gaim_gtk_create_prpl_icon(account, scale_factor) - const Gaim::Account account - double scale_factor - -Gdk::Pixbuf -gaim_gtk_create_prpl_icon_with_status(account, status_type, scale_factor) - const Gaim::Account account - Gaim::StatusType status_type - double scale_factor - -Gdk::Pixbuf -gaim_gtk_create_gaim_icon_with_status(primitive, scale_factor) - Gaim::StatusPrimitive primitive - double scale_factor - -void -gaim_gtk_append_menu_action(menu, act, gobject) - Gtk::Widget menu - Gaim::Menu::Action act - gpointer gobject - -void -gaim_gtk_set_cursor(widget, cursor_type) - Gtk::Widget widget - Gdk::CursorType cursor_type - -void -gaim_gtk_clear_cursor(widget) - Gtk::Widget widget -*/ - MODULE = Gaim::GtkUI::Utils PACKAGE = Gaim::GtkUI::Utils PREFIX = gaim_gtk_utils_ PROTOTYPES: ENABLE This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <de...@us...> - 2006-09-18 04:26:38
|
Revision: 17305 http://svn.sourceforge.net/gaim/?rev=17305&view=rev Author: deryni9 Date: 2006-09-17 21:26:33 -0700 (Sun, 17 Sep 2006) Log Message: ----------- Remove a couple more commented out functions, fix the class we were blessing things into with smiley themes, and add an indentatation level to the bootstrap section of GtkUI.xs (doesn't matter now but bit me during some of my testing). Modified Paths: -------------- trunk/gtk/plugins/perl/common/GtkThemes.xs trunk/gtk/plugins/perl/common/GtkUI.xs Modified: trunk/gtk/plugins/perl/common/GtkThemes.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkThemes.xs 2006-09-18 04:24:03 UTC (rev 17304) +++ trunk/gtk/plugins/perl/common/GtkThemes.xs 2006-09-18 04:26:33 UTC (rev 17305) @@ -1,13 +1,5 @@ #include "gtkmodule.h" -/* This can't work at the moment since I don't have a typemap for Gtk::Widget. - * I thought about using the one from libgtk2-perl but wasn't sure how to go - * about doing that. -void -gaim_gtkthemes_smiley_themeize(widget) - Gtk::Widget * widget -*/ - MODULE = Gaim::GtkUI::Themes PACKAGE = Gaim::GtkUI::Themes PREFIX = gaim_gtkthemes_ PROTOTYPES: ENABLE @@ -32,5 +24,5 @@ GSList *l; PPCODE: for (l = gaim_gtkthemes_get_proto_smileys(id); l != NULL; l = l->next) { - XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gtk::IMHtml::Smiley"))); + XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::GtkUI::IMHtml::Smiley"))); } Modified: trunk/gtk/plugins/perl/common/GtkUI.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkUI.xs 2006-09-18 04:24:03 UTC (rev 17304) +++ trunk/gtk/plugins/perl/common/GtkUI.xs 2006-09-18 04:26:33 UTC (rev 17305) @@ -1,24 +1,5 @@ #include "gtkmodule.h" -/* -#define GAIM_PERL_BOOT_PROTO(x) \ - void boot_Gaim__##x(pTHX_ CV *cv); - -#define GAIM_PERL_BOOT(x) \ - gaim_perl_callXS(boot_Gaim__##x, cv, mark) - -static void -gaim_perl_callXS(void (*subaddr)(pTHX_ CV *cv), CV *cv, SV **mark) -{ - dSP; - - PUSHMARK(mark); - (*subaddr)(aTHX_ cv); - - PUTBACK; -} -*/ - /* Prototypes for the BOOT section below. */ GAIM_PERL_BOOT_PROTO(GtkUI__Account); GAIM_PERL_BOOT_PROTO(GtkUI__BuddyList); @@ -51,29 +32,29 @@ PROTOTYPES: ENABLE BOOT: -GAIM_PERL_BOOT(GtkUI__Account); -GAIM_PERL_BOOT(GtkUI__BuddyList); -GAIM_PERL_BOOT(GtkUI__Connection); -GAIM_PERL_BOOT(GtkUI__Conversation); -GAIM_PERL_BOOT(GtkUI__Conversation__Window); -GAIM_PERL_BOOT(GtkUI__Debug); -GAIM_PERL_BOOT(GtkUI__Dialogs); -GAIM_PERL_BOOT(GtkUI__IMHtml); -GAIM_PERL_BOOT(GtkUI__IMHtmlToolbar); -GAIM_PERL_BOOT(GtkUI__Log); -GAIM_PERL_BOOT(GtkUI__MenuTray); -GAIM_PERL_BOOT(GtkUI__Plugin); -GAIM_PERL_BOOT(GtkUI__PluginPref); -GAIM_PERL_BOOT(GtkUI__Pounce); -GAIM_PERL_BOOT(GtkUI__Prefs); -GAIM_PERL_BOOT(GtkUI__Privacy); -GAIM_PERL_BOOT(GtkUI__Roomlist); -GAIM_PERL_BOOT(GtkUI__Status); + GAIM_PERL_BOOT(GtkUI__Account); + GAIM_PERL_BOOT(GtkUI__BuddyList); + GAIM_PERL_BOOT(GtkUI__Connection); + GAIM_PERL_BOOT(GtkUI__Conversation); + GAIM_PERL_BOOT(GtkUI__Conversation__Window); + GAIM_PERL_BOOT(GtkUI__Debug); + GAIM_PERL_BOOT(GtkUI__Dialogs); + GAIM_PERL_BOOT(GtkUI__IMHtml); + GAIM_PERL_BOOT(GtkUI__IMHtmlToolbar); + GAIM_PERL_BOOT(GtkUI__Log); + GAIM_PERL_BOOT(GtkUI__MenuTray); + GAIM_PERL_BOOT(GtkUI__Plugin); + GAIM_PERL_BOOT(GtkUI__PluginPref); + GAIM_PERL_BOOT(GtkUI__Pounce); + GAIM_PERL_BOOT(GtkUI__Prefs); + GAIM_PERL_BOOT(GtkUI__Privacy); + GAIM_PERL_BOOT(GtkUI__Roomlist); + GAIM_PERL_BOOT(GtkUI__Status); #ifndef _WIN32 -GAIM_PERL_BOOT(GtkUI__Session); + GAIM_PERL_BOOT(GtkUI__Session); #endif -GAIM_PERL_BOOT(GtkUI__Sound); -GAIM_PERL_BOOT(GtkUI__StatusBox); -GAIM_PERL_BOOT(GtkUI__Themes); -GAIM_PERL_BOOT(GtkUI__Utils); -GAIM_PERL_BOOT(GtkUI__Xfer); + GAIM_PERL_BOOT(GtkUI__Sound); + GAIM_PERL_BOOT(GtkUI__StatusBox); + GAIM_PERL_BOOT(GtkUI__Themes); + GAIM_PERL_BOOT(GtkUI__Utils); + GAIM_PERL_BOOT(GtkUI__Xfer); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <de...@us...> - 2006-09-18 18:23:23
|
Revision: 17314 http://svn.sourceforge.net/gaim/?rev=17314&view=rev Author: deryni9 Date: 2006-09-18 11:23:17 -0700 (Mon, 18 Sep 2006) Log Message: ----------- This should make these functions work in a more perl-like fashion. Modified Paths: -------------- trunk/gtk/plugins/perl/common/GtkConv.xs trunk/gtk/plugins/perl/common/GtkConvWin.xs trunk/gtk/plugins/perl/common/GtkFt.xs Modified: trunk/gtk/plugins/perl/common/GtkConv.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkConv.xs 2006-09-18 18:18:30 UTC (rev 17313) +++ trunk/gtk/plugins/perl/common/GtkConv.xs 2006-09-18 18:23:17 UTC (rev 17314) @@ -24,8 +24,10 @@ Gaim::GtkUI::Conversation conv void -gaim_gtkconv_new(conv) +gaim_gtkconv_new(class, conv) Gaim::Conversation conv + C_ARGS: + conv gboolean gaim_gtkconv_is_hidden(gtkconv) Modified: trunk/gtk/plugins/perl/common/GtkConvWin.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkConvWin.xs 2006-09-18 18:18:30 UTC (rev 17313) +++ trunk/gtk/plugins/perl/common/GtkConvWin.xs 2006-09-18 18:23:17 UTC (rev 17314) @@ -4,7 +4,8 @@ PROTOTYPES: ENABLE Gaim::GtkUI::Conversation::Window -gaim_gtk_conv_window_new() +gaim_gtk_conv_window_new(class) + C_ARGS: /* void */ void gaim_gtk_conv_window_destroy(win) Modified: trunk/gtk/plugins/perl/common/GtkFt.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkFt.xs 2006-09-18 18:18:30 UTC (rev 17313) +++ trunk/gtk/plugins/perl/common/GtkFt.xs 2006-09-18 18:23:17 UTC (rev 17314) @@ -14,7 +14,8 @@ PROTOTYPES: ENABLE Gaim::GtkUI::Xfer::Dialog -gaim_gtkxfer_dialog_new() +gaim_gtkxfer_dialog_new(class) + C_ARGS: /* void */ void gaim_gtkxfer_dialog_destroy(dialog) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <de...@us...> - 2006-10-12 23:25:46
|
Revision: 17472 http://svn.sourceforge.net/gaim/?rev=17472&view=rev Author: deryni9 Date: 2006-10-12 16:25:36 -0700 (Thu, 12 Oct 2006) Log Message: ----------- Changing void * to Gaim::Handle in gtkperl as well. Modified Paths: -------------- trunk/gtk/plugins/perl/common/GtkAccount.xs trunk/gtk/plugins/perl/common/GtkBlist.xs trunk/gtk/plugins/perl/common/GtkConn.xs trunk/gtk/plugins/perl/common/GtkConv.xs trunk/gtk/plugins/perl/common/GtkDebug.xs trunk/gtk/plugins/perl/common/GtkLog.xs trunk/gtk/plugins/perl/common/GtkPounce.xs trunk/gtk/plugins/perl/common/GtkSavedStatuses.xs trunk/gtk/plugins/perl/common/GtkSound.xs Modified: trunk/gtk/plugins/perl/common/GtkAccount.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkAccount.xs 2006-10-12 20:38:47 UTC (rev 17471) +++ trunk/gtk/plugins/perl/common/GtkAccount.xs 2006-10-12 23:25:36 UTC (rev 17472) @@ -3,7 +3,7 @@ MODULE = Gaim::GtkUI::Account PACKAGE = Gaim::GtkUI::Account PREFIX = gaim_gtk_account_ PROTOTYPES: ENABLE -void * +Gaim::Handle gaim_gtk_account_get_handle() MODULE = Gaim::GtkUI::Account PACKAGE = Gaim::GtkUI::Account::Dialog PREFIX = gaim_gtk_account_dialog_ Modified: trunk/gtk/plugins/perl/common/GtkBlist.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkBlist.xs 2006-10-12 20:38:47 UTC (rev 17471) +++ trunk/gtk/plugins/perl/common/GtkBlist.xs 2006-10-12 23:25:36 UTC (rev 17472) @@ -3,7 +3,7 @@ MODULE = Gaim::GtkUI::BuddyList PACKAGE = Gaim::GtkUI::BuddyList PREFIX = gaim_gtk_blist_ PROTOTYPES: ENABLE -void * +Gaim::Handle gaim_gtk_blist_get_handle() Gaim::GtkUI::BuddyList Modified: trunk/gtk/plugins/perl/common/GtkConn.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkConn.xs 2006-10-12 20:38:47 UTC (rev 17471) +++ trunk/gtk/plugins/perl/common/GtkConn.xs 2006-10-12 23:25:36 UTC (rev 17472) @@ -3,5 +3,5 @@ MODULE = Gaim::GtkUI::Connection PACKAGE = Gaim::GtkUI::Connection PREFIX = gaim_gtk_connection_ PROTOTYPES: ENABLE -void * +Gaim::Handle gaim_gtk_connection_get_handle() Modified: trunk/gtk/plugins/perl/common/GtkConv.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkConv.xs 2006-10-12 20:38:47 UTC (rev 17471) +++ trunk/gtk/plugins/perl/common/GtkConv.xs 2006-10-12 23:25:36 UTC (rev 17472) @@ -43,5 +43,5 @@ gboolean hidden_only guint max_count -void * +Gaim::Handle gaim_gtk_conversations_get_handle() Modified: trunk/gtk/plugins/perl/common/GtkDebug.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkDebug.xs 2006-10-12 20:38:47 UTC (rev 17471) +++ trunk/gtk/plugins/perl/common/GtkDebug.xs 2006-10-12 23:25:36 UTC (rev 17472) @@ -3,7 +3,7 @@ MODULE = Gaim::GtkUI::Debug PACKAGE = Gaim::GtkUI::Debug PREFIX = gaim_gtk_debug_ PROTOTYPES: ENABLE -void * +Gaim::Handle gaim_gtk_debug_get_handle() MODULE = Gaim::GtkUI::Debug PACKAGE = Gaim::GtkUI::Debug::Window PREFIX = gaim_gtk_debug_window_ Modified: trunk/gtk/plugins/perl/common/GtkLog.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkLog.xs 2006-10-12 20:38:47 UTC (rev 17471) +++ trunk/gtk/plugins/perl/common/GtkLog.xs 2006-10-12 23:25:36 UTC (rev 17472) @@ -3,7 +3,7 @@ MODULE = Gaim::GtkUI::Log PACKAGE = Gaim::GtkUI::Log PREFIX = gaim_gtk_log_ PROTOTYPES: ENABLE -void * +Gaim::Handle gaim_gtk_log_get_handle() void Modified: trunk/gtk/plugins/perl/common/GtkPounce.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkPounce.xs 2006-10-12 20:38:47 UTC (rev 17471) +++ trunk/gtk/plugins/perl/common/GtkPounce.xs 2006-10-12 23:25:36 UTC (rev 17472) @@ -12,7 +12,7 @@ MODULE = Gaim::GtkUI::Pounce PACKAGE = Gaim::GtkUI::Pounces PREFIX = gaim_gtk_pounces_ PROTOTYPES: ENABLE -void * +Gaim::Handle gaim_gtk_pounces_get_handle() MODULE = Gaim::GtkUI::Pounce PACKAGE = Gaim::GtkUI::Pounces::Manager PREFIX = gaim_gtk_pounces_manager_ Modified: trunk/gtk/plugins/perl/common/GtkSavedStatuses.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkSavedStatuses.xs 2006-10-12 20:38:47 UTC (rev 17471) +++ trunk/gtk/plugins/perl/common/GtkSavedStatuses.xs 2006-10-12 23:25:36 UTC (rev 17472) @@ -3,7 +3,7 @@ MODULE = Gaim::GtkUI::Status PACKAGE = Gaim::GtkUI::Status PREFIX = gaim_gtk_status_ PROTOTYPES: ENABLE -void * +Gaim::Handle gaim_gtk_status_get_handle() MODULE = Gaim::GtkUI::Status PACKAGE = Gaim::GtkUI::Status::Editor PREFIX = gaim_gtk_status_editor_ Modified: trunk/gtk/plugins/perl/common/GtkSound.xs =================================================================== --- trunk/gtk/plugins/perl/common/GtkSound.xs 2006-10-12 20:38:47 UTC (rev 17471) +++ trunk/gtk/plugins/perl/common/GtkSound.xs 2006-10-12 23:25:36 UTC (rev 17472) @@ -11,5 +11,5 @@ gaim_gtk_sound_get_event_label(event) Gaim::SoundEventID event -void * +Gaim::Handle gaim_gtk_sound_get_handle() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |