(svn r13031) -Codechange: make AssignWidgetToWindow a static function instead of a global one as it should only be used from window.cpp.

pull/155/head
rubidium 16 years ago
parent 24c2d9ff5c
commit 9410be7b70

@ -860,7 +860,7 @@ bool IsWindowOfPrototype(const Window *w, const Widget *widget)
* \c w->original_widget points to the original widgets,
* \c w->widget_count contains number of widgets in the allocated memory.
*/
void AssignWidgetToWindow(Window *w, const Widget *widget)
static void AssignWidgetToWindow(Window *w, const Widget *widget)
{
w->original_widget = widget;

@ -652,7 +652,6 @@ Window *BringWindowToFrontById(WindowClass cls, WindowNumber number);
Window *FindWindowFromPt(int x, int y);
bool IsWindowOfPrototype(const Window *w, const Widget *widget);
void AssignWidgetToWindow(Window *w, const Widget *widget);
/**
* Open a new window.

Loading…
Cancel
Save