From e9982f68286dd6935fed4c9f3e8f5d01c91d7cff Mon Sep 17 00:00:00 2001 From: John Scipione Date: Thu, 19 Feb 2015 20:28:28 -0500 Subject: [PATCH] Deskbar: Rename _InitData() to just _Init() in TeamMenuItem. For consistency. --- src/apps/deskbar/TeamMenuItem.cpp | 6 +++--- src/apps/deskbar/TeamMenuItem.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps/deskbar/TeamMenuItem.cpp b/src/apps/deskbar/TeamMenuItem.cpp index dd28890818..97dd80313b 100644 --- a/src/apps/deskbar/TeamMenuItem.cpp +++ b/src/apps/deskbar/TeamMenuItem.cpp @@ -73,7 +73,7 @@ TTeamMenuItem::TTeamMenuItem(BList* team, BBitmap* icon, char* name, : TTruncatableMenuItem(new TWindowMenu(team, signature)) { - _InitData(team, icon, name, signature, width, height); + _Init(team, icon, name, signature, width, height); } @@ -81,7 +81,7 @@ TTeamMenuItem::TTeamMenuItem(float width, float height) : TTruncatableMenuItem("", NULL) { - _InitData(NULL, NULL, strdup(""), strdup(""), width, height); + _Init(NULL, NULL, strdup(""), strdup(""), width, height); } @@ -413,7 +413,7 @@ TTeamMenuItem::ExpanderBounds() const void -TTeamMenuItem::_InitData(BList* team, BBitmap* icon, char* name, char* signature, +TTeamMenuItem::_Init(BList* team, BBitmap* icon, char* name, char* signature, float width, float height) { fTeam = team; diff --git a/src/apps/deskbar/TeamMenuItem.h b/src/apps/deskbar/TeamMenuItem.h index 7aecff37cf..08911bc288 100644 --- a/src/apps/deskbar/TeamMenuItem.h +++ b/src/apps/deskbar/TeamMenuItem.h @@ -91,7 +91,7 @@ protected: void DrawExpanderArrow(); private: - void _InitData(BList* team, BBitmap* icon, + void _Init(BList* team, BBitmap* icon, char* name, char* signature, float width = -1.0f, float height = -1.0f);