wacom: Export stylus from CcWacomStylusPage

This commit is contained in:
Bastien Nocera 2012-02-20 17:09:53 +01:00
parent 21ab18a70f
commit 544af5214a
2 changed files with 8 additions and 0 deletions

View file

@ -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)

View file

@ -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);