mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[warnings] make function declaration names consistent
Use the same parameter names for declaration and implementation.
This commit is contained in:
@@ -315,11 +315,11 @@ xfFloatbarButton* xf_floatbar_new_button(xfFloatbar* floatbar, int type)
|
||||
return button;
|
||||
}
|
||||
|
||||
xfFloatbar* xf_floatbar_new(xfContext* xfc, Window window, const char* name, DWORD flags)
|
||||
xfFloatbar* xf_floatbar_new(xfContext* xfc, Window window, const char* title, DWORD flags)
|
||||
{
|
||||
WINPR_ASSERT(xfc);
|
||||
WINPR_ASSERT(xfc->display);
|
||||
WINPR_ASSERT(name);
|
||||
WINPR_ASSERT(title);
|
||||
|
||||
/* Floatbar not enabled */
|
||||
if ((flags & 0x0001) == 0)
|
||||
@@ -337,7 +337,7 @@ xfFloatbar* xf_floatbar_new(xfContext* xfc, Window window, const char* name, DWO
|
||||
if (!floatbar)
|
||||
return NULL;
|
||||
|
||||
floatbar->title = _strdup(name);
|
||||
floatbar->title = _strdup(title);
|
||||
|
||||
if (!floatbar->title)
|
||||
goto fail;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include "xf_types.h"
|
||||
|
||||
FREERDP_API int xf_list_monitors(xfContext* xfc);
|
||||
FREERDP_API BOOL xf_detect_monitors(xfContext* xfc, UINT32* pWidth, UINT32* pHeight);
|
||||
FREERDP_API BOOL xf_detect_monitors(xfContext* xfc, UINT32* pMaxWidth, UINT32* pMaxHeight);
|
||||
FREERDP_API void xf_monitors_free(xfContext* xfc);
|
||||
|
||||
#endif /* FREERDP_CLIENT_X11_MONITOR_H */
|
||||
|
||||
Reference in New Issue
Block a user