aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2010-05-21 15:45:03 +0800
committerXavier Claessens <xclaesse@gmail.com>2010-05-21 15:49:41 +0800
commit8125535e64eb29da486f642103eb3b220a280fb7 (patch)
tree713634be34810ba70d068d05442a85ca1c756ea3 /libempathy-gtk/empathy-ui-utils.c
parent64d4af1b917c249a571f8b608c1976fb065dca49 (diff)
downloadgsoc2013-empathy-8125535e64eb29da486f642103eb3b220a280fb7.tar
gsoc2013-empathy-8125535e64eb29da486f642103eb3b220a280fb7.tar.gz
gsoc2013-empathy-8125535e64eb29da486f642103eb3b220a280fb7.tar.bz2
gsoc2013-empathy-8125535e64eb29da486f642103eb3b220a280fb7.tar.lz
gsoc2013-empathy-8125535e64eb29da486f642103eb3b220a280fb7.tar.xz
gsoc2013-empathy-8125535e64eb29da486f642103eb3b220a280fb7.tar.zst
gsoc2013-empathy-8125535e64eb29da486f642103eb3b220a280fb7.zip
Remove empathy_link_button_new(), it's unused
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.c')
-rw-r--r--libempathy-gtk/empathy-ui-utils.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 13ca0c727..b5e37cade 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1528,28 +1528,6 @@ empathy_url_show (GtkWidget *parent,
g_free (real_url);
}
-static void
-link_button_hook (GtkLinkButton *button,
- const gchar *link_,
- gpointer user_data)
-{
- empathy_url_show (GTK_WIDGET (button), link_);
-}
-
-GtkWidget *
-empathy_link_button_new (const gchar *url,
- const gchar *title)
-{
- static gboolean hook = FALSE;
-
- if (!hook) {
- hook = TRUE;
- gtk_link_button_set_uri_hook (link_button_hook, NULL, NULL);
- }
-
- return gtk_link_button_new_with_label (url, title);
-}
-
void
empathy_send_file (EmpathyContact *contact, GFile *file)
{