Skip to content

Commit

Permalink
Removed hJob from Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Szczerbiński committed May 17, 2024
1 parent b9d0f47 commit 13cbafb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/core/main.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "main.h"

#ifdef __WIN32
HANDLE hJob = NULL;
#endif

GtkApplication *app = NULL;
GtkBuilder *builder = NULL;
Expand Down
11 changes: 6 additions & 5 deletions src/core/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@

#include "../common.h"

#ifdef __WIN32
extern HANDLE hJob;
#endif

extern GtkApplication *app;
extern GtkApplication* app;

#define CONTROL_MAIN_WND 0
#define CONTROL_MON_LIST 1
Expand All @@ -32,10 +34,9 @@ extern GtkApplication *app;

#define CONTROLS_MAX 18

typedef struct
{
const char *name;
GtkWidget *widget;
typedef struct {
const char* name;
GtkWidget* widget;
} Control;

extern Control controls[];
Expand Down

0 comments on commit 13cbafb

Please sign in to comment.