diff --git a/panels/wacom/cc-wacom-stylus-page.c b/panels/wacom/cc-wacom-stylus-page.c index 704d3bfed..11c48e3d9 100644 --- a/panels/wacom/cc-wacom-stylus-page.c +++ b/panels/wacom/cc-wacom-stylus-page.c @@ -488,6 +488,12 @@ cc_wacom_stylus_page_new (GsdWacomStylus *stylus, return GTK_WIDGET (page); } +GsdWacomStylus * +cc_wacom_stylus_page_get_stylus (CcWacomStylusPage *page) +{ + return page->priv->stylus; +} + void cc_wacom_stylus_page_set_navigation (CcWacomStylusPage *page, GtkNotebook *notebook) diff --git a/panels/wacom/cc-wacom-stylus-page.h b/panels/wacom/cc-wacom-stylus-page.h index d828ef775..61a09649f 100644 --- a/panels/wacom/cc-wacom-stylus-page.h +++ b/panels/wacom/cc-wacom-stylus-page.h @@ -71,6 +71,8 @@ GType cc_wacom_stylus_page_get_type (void) G_GNUC_CONST; GtkWidget * cc_wacom_stylus_page_new (GsdWacomStylus *stylus, GsdWacomStylus *eraser); +GsdWacomStylus * cc_wacom_stylus_page_get_stylus (CcWacomStylusPage *page); + void cc_wacom_stylus_page_set_navigation (CcWacomStylusPage *page, GtkNotebook *notebook);