Skip to content

Commit

Permalink
move WINDOW_REPORT_CM_CLASS definition to gnc-plugin-page-report.h
Browse files Browse the repository at this point in the history
and remove unused definition in window-report.h
  • Loading branch information
christopherlam committed May 21, 2021
1 parent 4ab9bd4 commit 3bb6801
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions gnucash/gnome/gnc-plugin-page-report.c
Expand Up @@ -76,8 +76,6 @@
#include "gnc-icons.h"
#include "print-session.h"

#define WINDOW_REPORT_CM_CLASS "window-report"

/* NW: you can add GNC_MOD_REPORT to gnc-engine.h
or simply define it locally. Any unique string with
a gnucash- prefix will do. Then just set a log level
Expand Down
2 changes: 2 additions & 0 deletions gnucash/gnome/gnc-plugin-page-report.h
Expand Up @@ -49,6 +49,8 @@ G_BEGIN_DECLS

#define GNC_PLUGIN_PAGE_REPORT_NAME "GncPluginPageReport"

#define WINDOW_REPORT_CM_CLASS "window-report"

/* typedefs & structures */
typedef struct
{
Expand Down
3 changes: 0 additions & 3 deletions gnucash/gnome/window-report.c
Expand Up @@ -44,9 +44,6 @@

#include "gnc-plugin-page-report.h"

#define WINDOW_REPORT_CM_CLASS "window-report"
#define MDI_CHILD_CONFIG "mdi_child_config"

/********************************************************************
*
********************************************************************/
Expand Down

0 comments on commit 3bb6801

Please sign in to comment.