summaryrefslogtreecommitdiff
path: root/src/gpm-common.h
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 22:28:21 +0200
committerraveit65 <[email protected]>2019-07-10 21:09:34 +0200
commit67b0883a92607d52ece6ab7e8f8869e7f55bab29 (patch)
treebcccbc8319590fa23563c2d2f5156b0c99b03b92 /src/gpm-common.h
parentef6434d21bd88d18d48f01113bc44e1611acc918 (diff)
downloadmate-power-manager-67b0883a92607d52ece6ab7e8f8869e7f55bab29.tar.bz2
mate-power-manager-67b0883a92607d52ece6ab7e8f8869e7f55bab29.tar.xz
Add scroll interface tabs with mouse wheel
in preferences and gpm-statistics (mouse-battery)
Diffstat (limited to 'src/gpm-common.h')
-rw-r--r--src/gpm-common.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/gpm-common.h b/src/gpm-common.h
index e9f0ac9..8aeedbc 100644
--- a/src/gpm-common.h
+++ b/src/gpm-common.h
@@ -23,6 +23,7 @@
#define __GPMCOMMON_H
#include <glib.h>
+#include <gtk/gtk.h>
#include <unistd.h>
@@ -154,14 +155,17 @@ typedef enum {
GPM_ACTION_POLICY_NOTHING
} GpmActionPolicy;
-gchar *gpm_get_timestring (guint time);
-guint gpm_discrete_from_percent (guint percentage,
- guint levels);
-guint gpm_discrete_to_percent (guint discrete,
- guint levels);
-void gpm_help_display (const gchar *link_id);
+gchar *gpm_get_timestring (guint time);
+guint gpm_discrete_from_percent (guint percentage,
+ guint levels);
+guint gpm_discrete_to_percent (guint discrete,
+ guint levels);
+void gpm_help_display (const gchar *link_id);
+gboolean gpm_dialog_page_scroll_event_cb (GtkWidget *widget,
+ GdkEventScroll *event,
+ GtkWindow *window);
#ifdef EGG_TEST
-void gpm_common_test (gpointer data);
+void gpm_common_test (gpointer data);
#endif
G_END_DECLS