[xchat-gnome] Bug 600627 - Fix for SexyURLLabel replacement code for GTK+ >= 2.17.1
- From: Ritesh Khadgaray <rkhadgaray src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [xchat-gnome] Bug 600627 - Fix for SexyURLLabel replacement code for GTK+ >= 2.17.1
- Date: Mon, 9 Nov 2009 10:32:45 +0000 (UTC)
commit 2ec9ed3dadcf27a85905cc2019f75b777e0c3c1a
Author: Florian Müllner <florian muellner gmail com>
Date: Wed Nov 4 12:19:50 2009 +0530
Bug 600627 - Fix for SexyURLLabel replacement code for GTK+ >= 2.17.1
regression, from Bug 586222 - remove libsexy dependency
src/fe-gnome/topic-label.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/fe-gnome/topic-label.c b/src/fe-gnome/topic-label.c
index 8850bf4..4cbdda9 100644
--- a/src/fe-gnome/topic-label.c
+++ b/src/fe-gnome/topic-label.c
@@ -42,7 +42,9 @@ static char *topic_label_get_topic_string (const char *topic);
static void topic_label_size_allocate (GtkWidget *widget,
GtkAllocation *allocation);
static void topic_label_url_activated (GtkWidget *url_label,
+#if !GTK_CHECK_VERSION(2,17,1)
const char *url,
+#endif
TopicLabel *label);
static void topic_entry_activate (GtkTextBuffer *textbuffer,
GtkTextIter *arg1,
@@ -208,7 +210,7 @@ topic_label_set_current (TopicLabel *label, struct session *sess)
if (topic) {
#if GTK_CHECK_VERSION(2,17,1)
gtk_label_set_markup (GTK_LABEL (priv->label), topic);
- gtk_label_set_markup (GTK_LABEL (priv->sizing_label, topic);
+ gtk_label_set_markup (GTK_LABEL (priv->sizing_label), topic);
#else
sexy_url_label_set_markup (SEXY_URL_LABEL (priv->label), topic);
sexy_url_label_set_markup (SEXY_URL_LABEL (priv->sizing_label), topic);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]