[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/libirc frontend.c,1.1.1.1,1.2 gtkhtml.c,1.1.
From: |
Philip S Tellis <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/libirc frontend.c,1.1.1.1,1.2 gtkhtml.c,1.1.1.1,1.2 |
Date: |
Thu, 16 Jan 2003 04:51:05 -0500 |
Update of /cvsroot/ayttm/ayttm/libirc
In directory subversions:/tmp/cvs-serv15316/libirc
Modified Files:
frontend.c gtkhtml.c
Log Message:
changed code almost everywhere. removed gtk dependencies in some places,
changed gdk_input_* to eb_input_*, etc... see the ChangeLog.
Index: frontend.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/libirc/frontend.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- frontend.c 23 Dec 2002 22:04:27 -0000 1.1.1.1
+++ frontend.c 16 Jan 2003 09:51:02 -0000 1.2
@@ -603,7 +603,7 @@
printf("%s has become %s.\n", nick, newnick);
}
-void irc_callback_handler(gpointer data, gint source, GdkInputCondition
condition)
+void irc_callback_handler(void *data, int source, eb_input_condition cond)
{
irc_callback(data);
}
@@ -656,7 +656,7 @@
irc_user_join_channel = libirc_test_user_join_channel;
connection = irc_connect("irc.undernet.org", 6667);
- gdk_input_add(connection->fd, GDK_INPUT_READ, irc_callback_handler,
connection);
+ eb_input_add(connection->fd, EB_INPUT_READ, irc_callback_handler,
connection);
irc_signon(connection, "RobFlynn", NULL);
open_chat(connection, "!ircstatus");
gtk_main();
Index: gtkhtml.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/libirc/gtkhtml.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- gtkhtml.c 23 Dec 2002 22:04:29 -0000 1.1.1.1
+++ gtkhtml.c 16 Jan 2003 09:51:02 -0000 1.2
@@ -1285,7 +1285,7 @@
html = GTK_HTML(widget);
if (html->tooltip_timer != -1)
- gtk_timeout_remove(html->tooltip_timer);
+ eb_timeout_remove(html->tooltip_timer);
if (html->tooltip_window) {
gtk_widget_destroy(html->tooltip_window);
html->tooltip_window = NULL;
@@ -1328,7 +1328,7 @@
if (y < 0 || y > height) {
int diff;
if (html->timer == 0) {
- html->timer = gtk_timeout_add(100,
+ html->timer = eb_timeout_add(100,
(GtkFunction)scroll_timeout,
html);
if (y < 0)
@@ -1376,12 +1376,12 @@
if (html->tooltip_hb != hb) {
html->tooltip_hb = hb;
if (html->tooltip_timer != -1)
-
gtk_timeout_remove(html->tooltip_timer);
+
eb_timeout_remove(html->tooltip_timer);
if (html->tooltip_window) {
gtk_widget_destroy(html->tooltip_window);
html->tooltip_window = NULL;
}
- html->tooltip_timer =
gtk_timeout_add(HTML_TOOLTIP_DELAY, gtk_html_tooltip_timeout, html);
+ html->tooltip_timer =
eb_timeout_add(HTML_TOOLTIP_DELAY, gtk_html_tooltip_timeout, html);
}
gdk_window_set_cursor(html->html_area,
gdk_cursor_new(GDK_HAND2));
return TRUE;
@@ -1389,7 +1389,7 @@
urls = urls->next;
}
if (html->tooltip_timer != -1)
- gtk_timeout_remove(html->tooltip_timer);
+ eb_timeout_remove(html->tooltip_timer);
if (html->tooltip_window) {
gtk_widget_destroy(html->tooltip_window);
html->tooltip_window = NULL;
@@ -2154,12 +2154,12 @@
gtk_signal_disconnect_by_data (GTK_OBJECT (html->vadj), html);
if (html->timer) {
- gtk_timeout_remove (html->timer);
+ eb_timeout_remove (html->timer);
html->timer = 0;
}
if (html->tooltip_timer) {
- gtk_timeout_remove (html->tooltip_timer);
+ eb_timeout_remove (html->tooltip_timer);
html->tooltip_timer = -1;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/libirc frontend.c,1.1.1.1,1.2 gtkhtml.c,1.1.1.1,1.2,
Philip S Tellis <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm/src externs.h,1.2,1.3 triggerdecls.h,1.2,1.3 Makefile.am,1.9,1.10 about.c,1.12,1.13 account.c,1.4,1.5 account.h,1.3,1.4 account_parser.y,1.2,1.3 add_contact_window.c,1.9,1.10 browser.c,1.9,1.10 browser.h,1.1.1.1,1.2 chat_room.c,1.30,1.31 chat_room.h,1.7,1.8 chat_window.c,1.22,1.23 chat_window.h,1.5,1.6 console_session.c,1.4,1.5 console_session.h,1.1.1.1,1.2 contact.h,1.2,1.3 contact_actions.c,1.5,1.6 contact_parser.y,1.4,1.5 dialog.c,1.10,1.11 dialog.h,1.4,1.5 edit_account_window.c,1.5,1.6 edit_contact_window.c,1.5,1.6 editcontacts.c,1.13,1.14 extgtktext.c,1.5,1.6 globals.h,1.5,1.6 gtk_globals.h,1.2,1.3 help_menu.c,1.1.1.1,1.2 help_menu.h,1.1.1.1,1.2 input_list.c,1.4,1.5 input_list.h,1.1.1.1,1.2 main.c,1.8,1.9 message_parse.c,1.9,1.10 plugin_api.c,1.3,1.4 plugin_api.h,1.1.1.1,1.2 prefs.c,1.14,1.15 service.c,1.3,1.4 service.h,1.3,1.4 sound.c,1.6,1.7 status.c,1.18,1.19 status.h,1.3,1.4 trigger.c,1.6,1.7 trigger.h,1.3,1.4 util.c,1.10,1.11 util.h,1.4,1.5 about.h,1.3,NONE account_parser.tab.h,1.1.1.1,NONE contact_parser.tab.h,1.1.1.1,NONE
- Next by Date:
[Ayttm-commits] CVS: ayttm/modules/irc irc.c,1.2,1.3
- Previous by thread:
[Ayttm-commits] CVS: ayttm/src externs.h,1.2,1.3 triggerdecls.h,1.2,1.3 Makefile.am,1.9,1.10 about.c,1.12,1.13 account.c,1.4,1.5 account.h,1.3,1.4 account_parser.y,1.2,1.3 add_contact_window.c,1.9,1.10 browser.c,1.9,1.10 browser.h,1.1.1.1,1.2 chat_room.c,1.30,1.31 chat_room.h,1.7,1.8 chat_window.c,1.22,1.23 chat_window.h,1.5,1.6 console_session.c,1.4,1.5 console_session.h,1.1.1.1,1.2 contact.h,1.2,1.3 contact_actions.c,1.5,1.6 contact_parser.y,1.4,1.5 dialog.c,1.10,1.11 dialog.h,1.4,1.5 edit_account_window.c,1.5,1.6 edit_contact_window.c,1.5,1.6 editcontacts.c,1.13,1.14 extgtktext.c,1.5,1.6 globals.h,1.5,1.6 gtk_globals.h,1.2,1.3 help_menu.c,1.1.1.1,1.2 help_menu.h,1.1.1.1,1.2 input_list.c,1.4,1.5 input_list.h,1.1.1.1,1.2 main.c,1.8,1.9 message_parse.c,1.9,1.10 plugin_api.c,1.3,1.4 plugin_api.h,1.1.1.1,1.2 prefs.c,1.14,1.15 service.c,1.3,1.4 service.h,1.3,1.4 sound.c,1.6,1.7 status.c,1.18,1.19 status.h,1.3,1.4 trigger.c,1.6,1.7 trigger.h,1.3,1.4 util.c,1.10,1.11 util.h,1.4,1.5 about.h,1.3,NONE account_parser.tab.h,1.1.1.1,NONE contact_parser.tab.h,1.1.1.1,NONE
- Next by thread:
[Ayttm-commits] CVS: ayttm/modules/irc irc.c,1.2,1.3
- Index(es):