mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-ui: add helper to get current
This commit is contained in:
@ -161,7 +161,7 @@ sysprof_notebook_open (SysprofNotebook *self,
|
||||
sysprof_display_open (SYSPROF_DISPLAY (display), file);
|
||||
}
|
||||
|
||||
static SysprofDisplay *
|
||||
SysprofDisplay *
|
||||
sysprof_notebook_get_current (SysprofNotebook *self)
|
||||
{
|
||||
gint page;
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "sysprof-display.h"
|
||||
#include "sysprof-version-macros.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
@ -40,13 +41,15 @@ struct _SysprofNotebookClass
|
||||
};
|
||||
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
GtkWidget *sysprof_notebook_new (void);
|
||||
GtkWidget *sysprof_notebook_new (void);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_notebook_close_current (SysprofNotebook *self);
|
||||
SysprofDisplay *sysprof_notebook_get_current (SysprofNotebook *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_notebook_open (SysprofNotebook *self,
|
||||
GFile *file);
|
||||
void sysprof_notebook_close_current (SysprofNotebook *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_notebook_save (SysprofNotebook *self);
|
||||
void sysprof_notebook_open (SysprofNotebook *self,
|
||||
GFile *file);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
void sysprof_notebook_save (SysprofNotebook *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user