Skip to content

Commit

Permalink
Default initialize all pointers in Astroid class
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuclaw authored and jorsn committed Jun 18, 2024
1 parent e7f9c84 commit 3f0bcd0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/astroid.hh
Original file line number Diff line number Diff line change
Expand Up @@ -63,25 +63,25 @@ namespace Astroid {
ustring user_agent;

/* accounts */
AccountManager * accounts;
AccountManager * accounts = NULL;

/* actions */
ActionManager * actions;
ActionManager * actions = NULL;

# ifndef DISABLE_PLUGINS
PluginManager * plugin_manager;
PluginManager * plugin_manager = NULL;
# endif

/* poll */
Poll * poll;
Poll * poll = NULL;

MainWindow * open_new_window (bool open_defaults = true);

int hint_level ();
GdkAtom clipboard_target = GDK_SELECTION_CLIPBOARD;

protected:
Config * m_config;
Config * m_config = NULL;

private:
void on_activate () override;
Expand Down

0 comments on commit 3f0bcd0

Please sign in to comment.