diff options
author | Burt P <pburt0@gmail.com> | 2017-07-26 13:08:27 -0500 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2017-07-30 10:16:42 -0700 |
commit | 3db1caf8c29974e5aa46312084fe1585732cf236 (patch) | |
tree | 0292d831179a64643abc93f220ee87660f842162 | |
parent | 650f07f6d0e01bed154c34109b45e736663a3d93 (diff) |
gtk3: some leftovers from recent commits
Signed-off-by: Burt P <pburt0@gmail.com>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rwxr-xr-x | shell/shell.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 03aa30c7..0ed14bb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,7 +76,7 @@ add_subdirectory(po) include(FindPkgConfig) if (HARDINFO_GTK3) message(STATUS "Building for GTK3 (experimental!)") - pkg_check_modules(GTK REQUIRED pangocairo>=1.0 gtk+-3.0>=3.0 cairo>=1.0 cairo-png>=1.0 glib-2.0>=2.10 gthread-2.0>=2.10 gmodule-export-2.0>=2.10) + pkg_check_modules(GTK REQUIRED gtk+-3.0>=3.0 cairo>=1.0 cairo-png>=1.0 glib-2.0>=2.10 gthread-2.0>=2.10 gmodule-export-2.0>=2.10) add_definitions(-DGTK_DISABLE_SINGLE_INCLUDES) else() message(STATUS "Building for GTK2") diff --git a/shell/shell.c b/shell/shell.c index 69312db0..7607ab52 100755 --- a/shell/shell.c +++ b/shell/shell.c @@ -806,7 +806,7 @@ static gboolean update_field(gpointer data) if (shell->view_type == SHELL_VIEW_LOAD_GRAPH && gtk_tree_selection_iter_is_selected(shell->info->selection, iter)) { - load_graph_update(shell->loadgraph, atoi(value)); + load_graph_update(shell->loadgraph, atof(value)); } gtk_tree_store_set(store, iter, INFO_TREE_COL_VALUE, value, -1); |