Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 887111 Details for
Bug 925955
dev-util/codeblocks-20.03-r6[contrib]: segfault on start
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch for codeblocks
r12047.patch (text/plain), 1.78 KB, created by
Benjamin Schulz
on 2024-03-09 00:26:38 UTC
(
hide
)
Description:
patch for codeblocks
Filename:
MIME Type:
Creator:
Benjamin Schulz
Created:
2024-03-09 00:26:38 UTC
Size:
1.78 KB
patch
obsolete
>diff --git a/src/plugins/contrib/DoxyBlocks/DoxyBlocks.cpp b/trunk/src/plugins/contrib/DoxyBlocks/DoxyBlocks.cpp >--- a/src/plugins/contrib/DoxyBlocks/DoxyBlocks.cpp >+++ b/src/plugins/contrib/DoxyBlocks/DoxyBlocks.cpp >@@ -101,8 +101,8 @@ > > // constructor > DoxyBlocks::DoxyBlocks() : >- m_pToolbar(0l), >- m_DoxyBlocksLog(0l), >+ m_pToolbar(nullptr), >+ m_DoxyBlocksLog(nullptr), > m_LogPageIndex(0), > m_bAutoVersioning(false) > { >@@ -234,8 +234,10 @@ > */ > void DoxyBlocks::OnUpdateUI(wxUpdateUIEvent& WXUNUSED(event)) > { >- if(Manager::Get()->GetProjectManager()->GetProjects()->GetCount() == 0){ >- m_pToolbar->Enable(false); >+ if (Manager::Get()->GetProjectManager()->GetProjects()->GetCount() == 0) >+ { >+ if (m_pToolbar) >+ m_pToolbar->Enable(false); > wxMenuBar *menuBar = Manager::Get()->GetAppFrame()->GetMenuBar(); > menuBar->FindItem(ID_MENU_DOXYWIZARD)->Enable(false); > menuBar->FindItem(ID_MENU_EXTRACTPROJECT)->Enable(false); >@@ -264,14 +266,15 @@ > Manager::Get()->ProcessEvent(evt); > } > } >- m_DoxyBlocksLog = 0; >-} >- >-cbConfigurationPanel *DoxyBlocks::GetConfigurationPanel(wxWindow *parent) >+ m_DoxyBlocksLog = nullptr; >+} >+ >+cbConfigurationPanel* DoxyBlocks::GetConfigurationPanel(wxWindow *parent) > { > //create and display the configuration dialog for your plugin >- if(!IsAttached()){ >- return 0; >+ if (!IsAttached()) >+ { >+ return nullptr; > } > > // Get the version string before instantiating the panel so that it is recorded before >@@ -346,7 +349,7 @@ > > cbConfigurationPanel* DoxyBlocks::GetProjectConfigurationPanel(wxWindow* /*parent*/, cbProject* /*project*/) > { >- return 0; >+ return nullptr; > } > > void DoxyBlocks::OnConfigure(wxCommandEvent & WXUNUSED(event))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 925955
:
886708
|
887104
|
887105
|
887106
|
887107
|
887108
|
887110
| 887111 |
887184
|
887185
|
887186