[gnome-control-center] wacom: Export stylus from CcWacomStylusPage
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] wacom: Export stylus from CcWacomStylusPage
- Date: Mon, 20 Feb 2012 17:48:09 +0000 (UTC)
commit 544af5214ad4902daa8879c3e0c092c806c6f51b
Author: Bastien Nocera <hadess hadess net>
Date: Mon Feb 20 17:09:53 2012 +0100
wacom: Export stylus from CcWacomStylusPage
panels/wacom/cc-wacom-stylus-page.c | 6 ++++++
panels/wacom/cc-wacom-stylus-page.h | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-stylus-page.c b/panels/wacom/cc-wacom-stylus-page.c
index 704d3bf..11c48e3 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 d828ef7..61a0964 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]