/pidgin/main: 1991292edf87: Fix compiler warning introduced with...

David Woodhouse David.Woodhouse at intel.com
Fri Mar 6 17:56:00 EST 2015


Changeset: 1991292edf87a8b33c619bd0a671b6e828aa6c96
Author:	 David Woodhouse <David.Woodhouse at intel.com>
Date:	 2015-03-06 22:52 +0000
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/1991292edf87

Description:

Fix compiler warning introduced with DTMF UI

The last-minute changes in response to review feedback introduced a const
vs. non-const warning which wasn't noticed amongst all the other warnings
when building gtkmedia.c against GTK3. It showed up in the Pidgin 2
backport of the patch though.

diffstat:

 pidgin/gtkmedia.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/pidgin/gtkmedia.c b/pidgin/gtkmedia.c
--- a/pidgin/gtkmedia.c
+++ b/pidgin/gtkmedia.c
@@ -764,7 +764,7 @@ phone_create_button(const gchar *text_hi
 	GtkWidget *label_hi;
 	GtkWidget *label_lo;
 	GtkWidget *grid;
-	gchar *text_hi_local;
+	const gchar *text_hi_local;
 
 	if (text_hi)
 		text_hi_local = _(text_hi);



More information about the Commits mailing list