WINGs: Added 'const' attribute to functions in dragdestination, wtext

This makes both the API and local function const-correct on their
input parameters.
This commit is contained in:
Christophe CURIS authored and Carlos R. Mafra committed 2013-05-09 16:56:28 +01:00
1 parent 72108875aa
commit 75a0beffeb
3 files changed
+25 -24

No files matched your search

+1 -1
View File
@@ -417,7 +417,7 @@ storeDropData(WMView * destView, Atom selection, Atom target, Time timestamp, vo
}
}
Bool requestDropDataInSelection(WMView * destView, char *type)
Bool requestDropDataInSelection(WMView * destView, const char *type)
{
WMScreen *scr = W_VIEW_SCREEN(destView);