fix gcc4 warnings (+alphabranch)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32659 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
230fd426a9
commit
a632bfec28
@ -27,7 +27,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
TPeopleView::TPeopleView(BRect rect, char *title, entry_ref *ref)
|
||||
TPeopleView::TPeopleView(BRect rect, const char *title, entry_ref *ref)
|
||||
:BView(rect, title, B_FOLLOW_NONE, B_WILL_DRAW)
|
||||
{
|
||||
if (ref)
|
||||
|
@ -25,7 +25,7 @@ class TTextControl;
|
||||
|
||||
class TPeopleView : public BView {
|
||||
public:
|
||||
TPeopleView(BRect rect, char* title, entry_ref* ref);
|
||||
TPeopleView(BRect rect, const char* title, entry_ref* ref);
|
||||
~TPeopleView(void);
|
||||
|
||||
virtual void AttachedToWindow(void);
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <string.h>
|
||||
|
||||
|
||||
TPeopleWindow::TPeopleWindow(BRect frame, char *title, entry_ref *ref)
|
||||
TPeopleWindow::TPeopleWindow(BRect frame, const char *title, entry_ref *ref)
|
||||
: BWindow(frame, title, B_TITLED_WINDOW, B_NOT_RESIZABLE | B_NOT_ZOOMABLE),
|
||||
fPanel(NULL)
|
||||
{
|
||||
|
@ -41,7 +41,7 @@ public:
|
||||
|
||||
entry_ref *fRef;
|
||||
|
||||
TPeopleWindow(BRect, char*, entry_ref*);
|
||||
TPeopleWindow(BRect, const char*, entry_ref*);
|
||||
~TPeopleWindow(void);
|
||||
virtual void MenusBeginning(void);
|
||||
virtual void MessageReceived(BMessage*);
|
||||
|
Loading…
Reference in New Issue
Block a user