Mercurial > pidgin.yaz
comparison src/gtkutils.c @ 8913:d729311f6352
[gaim-migrate @ 9683]
a pair of bug fixes from marv
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 10 May 2004 04:01:46 +0000 |
parents | c430e99bb147 |
children | b875f5d57b81 |
comparison
equal
deleted
inserted
replaced
8912:40ebc5ecf86a | 8913:d729311f6352 |
---|---|
54 #include "gtkutils.h" | 54 #include "gtkutils.h" |
55 #include "ui.h" | 55 #include "ui.h" |
56 | 56 |
57 guint accels_save_timer = 0; | 57 guint accels_save_timer = 0; |
58 | 58 |
59 static gboolean | |
60 url_clicked_idle_cb(gpointer data) | |
61 { | |
62 gaim_notify_uri(NULL, data); | |
63 g_free(data); | |
64 return FALSE; | |
65 } | |
66 | |
59 static void | 67 static void |
60 url_clicked_cb(GtkWidget *w, const char *uri) | 68 url_clicked_cb(GtkWidget *w, const char *uri) |
61 { | 69 { |
62 gaim_notify_uri(NULL, uri); | 70 g_idle_add(url_clicked_idle_cb, g_strdup(uri)); |
63 } | 71 } |
64 | 72 |
65 void | 73 void |
66 gaim_setup_imhtml(GtkWidget *imhtml) | 74 gaim_setup_imhtml(GtkWidget *imhtml) |
67 { | 75 { |