gtk+ r21106 - in trunk: . gtk
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21106 - in trunk: . gtk
- Date: Wed, 13 Aug 2008 08:40:44 +0000 (UTC)
Author: mitch
Date: Wed Aug 13 08:40:44 2008
New Revision: 21106
URL: http://svn.gnome.org/viewvc/gtk+?rev=21106&view=rev
Log:
2008-08-13 Michael Natterer <mitch imendio com>
* gtk/gtkstock.c (gtk_stock_lookup): cast the return value of
g_dgettext() to fix warning about discarded qualifier.
Modified:
trunk/ChangeLog
trunk/gtk/gtkstock.c
Modified: trunk/gtk/gtkstock.c
==============================================================================
--- trunk/gtk/gtkstock.c (original)
+++ trunk/gtk/gtkstock.c Wed Aug 13 08:40:44 2008
@@ -176,7 +176,7 @@
if (translate != NULL && translate->func != NULL)
item->label = (* translate->func) (item->label, translate->data);
else
- item->label = g_dgettext (item->translation_domain, item->label);
+ item->label = (gchar *) g_dgettext (item->translation_domain, item->label);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]