projects
/
psensor-pkg-debian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.2.0
[psensor-pkg-debian.git]
/
src
/
ui_graph.c
diff --git
a/src/ui_graph.c
b/src/ui_graph.c
index
e5e0e76
..
577e83a
100644
(file)
--- a/
src/ui_graph.c
+++ b/
src/ui_graph.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2010-201
4
jeanfi@gmail.com
+ * Copyright (C) 2010-201
6
jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@
-38,14
+38,14
@@
on_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer data)
struct ui_psensor *ui_psensor = (struct ui_psensor *)data;
graph_update(ui_psensor->sensors,
struct ui_psensor *ui_psensor = (struct ui_psensor *)data;
graph_update(ui_psensor->sensors,
- ui_
psensor->w_graph
,
+ ui_
get_graph()
,
ui_psensor->config,
ui_psensor->main_window);
return FALSE;
}
ui_psensor->config,
ui_psensor->main_window);
return FALSE;
}
-void smooth_curves_enabled_changed_cbk(void *data)
+
static
void smooth_curves_enabled_changed_cbk(void *data)
{
is_smooth_curves_enabled = config_is_smooth_curves_enabled();
}
{
is_smooth_curves_enabled = config_is_smooth_curves_enabled();
}
@@
-56,7
+56,7
@@
void ui_graph_create(struct ui_psensor *ui)
log_debug("ui_graph_create()");
log_debug("ui_graph_create()");
- w_graph = ui
->w_graph
;
+ w_graph = ui
_get_graph()
;
is_smooth_curves_enabled = config_is_smooth_curves_enabled();
g_signal_connect_after(config_get_GSettings(),
is_smooth_curves_enabled = config_is_smooth_curves_enabled();
g_signal_connect_after(config_get_GSettings(),