mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
cast the return value of g_dgettext() to fix warning about discarded
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. svn path=/trunk/; revision=21106
This commit is contained in:
parent
5c7030a1ba
commit
b8d968aa48
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
2008-08-12 Paolo Borelli <pborelli@katamail.com>
|
||||
|
||||
* gtk/gtkclipboard.c (gtk_clipboard_store):
|
||||
|
@ -176,7 +176,7 @@ gtk_stock_lookup (const gchar *stock_id,
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user