diff options
author | Burt P <pburt0@gmail.com> | 2017-07-26 11:52:43 -0500 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2017-07-30 10:16:42 -0700 |
commit | d58276aa6fa507525312d9b83b7e82b0b6a479ab (patch) | |
tree | 193c47e4f0332dc528a8301e197e6cf87a91e9d0 /shell/shell.c | |
parent | 56d1e1137b7e344064ca0950c5aa265764eebc02 (diff) |
loadgraph: make loadgraph opaque, sample gdouble
Old load graph still uses ints internally.
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'shell/shell.c')
-rwxr-xr-x | shell/shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/shell.c b/shell/shell.c index 9c7d19a7..69312db0 100755 --- a/shell/shell.c +++ b/shell/shell.c @@ -1030,12 +1030,12 @@ static void set_view_type(ShellViewType viewtype, gboolean reload) alloc = g_new(GtkAllocation, 1); gtk_widget_get_allocation(shell->hpaned, alloc); gtk_paned_set_position(GTK_PANED(shell->vpaned), - alloc->height - shell->loadgraph->height - 16); + alloc->height - load_graph_get_height(shell->loadgraph) - 16); g_free(alloc); #else gtk_paned_set_position(GTK_PANED(shell->vpaned), shell->hpaned->allocation.height - - shell->loadgraph->height - 16); + load_graph_get_height(shell->loadgraph) - 16); #endif break; |