mirror of https://github.com/GNOME/gimp.git
app: more Windows-specific fixes in gimpdashboard.c
This commit is contained in:
parent
d75e599431
commit
4914103b5f
|
@ -29,6 +29,7 @@
|
|||
|
||||
#ifdef G_OS_WIN32
|
||||
#include <windows.h>
|
||||
#include <psapi.h>
|
||||
#define HAVE_CPU_GROUP
|
||||
#define HAVE_MEMORY_GROUP
|
||||
#else /* ! G_OS_WIN32 */
|
||||
|
@ -1986,8 +1987,8 @@ gimp_dashboard_sample_cpu_usage (GimpDashboard *dashboard,
|
|||
{
|
||||
typedef struct
|
||||
{
|
||||
static guint64 prev_time;
|
||||
static guint64 prev_usage;
|
||||
guint64 prev_time;
|
||||
guint64 prev_usage;
|
||||
} Data;
|
||||
|
||||
GimpDashboardPrivate *priv = dashboard->priv;
|
||||
|
|
Loading…
Reference in New Issue