diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2011-06-27 23:17:24 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2011-06-27 23:17:24 +0000 |
| commit | 956fbd1e8adb3014751236532607af0717c130fc (patch) | |
| tree | b84098426acbc2448984733afe86199a25c613f2 /src/widgets | |
| parent | Extensions. Interpolate Path. use transform elements (Bug 518768) (diff) | |
| parent | Rm a few instances of deprecated GtkNotebookPage. gtkmm-2.4 still uses it (diff) | |
| download | inkscape-956fbd1e8adb3014751236532607af0717c130fc.tar.gz inkscape-956fbd1e8adb3014751236532607af0717c130fc.zip | |
Rm a few instances of deprecated GtkNotebookPage. gtkmm-2.4 still uses it
(bzr r10379)
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/sp-color-notebook.cpp | 6 | ||||
| -rw-r--r-- | src/widgets/sp-color-notebook.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/sp-color-notebook.cpp b/src/widgets/sp-color-notebook.cpp index 0379fa141..c252dc65e 100644 --- a/src/widgets/sp-color-notebook.cpp +++ b/src/widgets/sp-color-notebook.cpp @@ -102,7 +102,7 @@ sp_color_notebook_class_init (SPColorNotebookClass *klass) static void sp_color_notebook_switch_page(GtkNotebook *notebook, - GtkNotebookPage *page, + GtkWidget *page, guint page_num, SPColorNotebook *colorbook) { @@ -111,14 +111,14 @@ sp_color_notebook_switch_page(GtkNotebook *notebook, ColorNotebook* nb = (ColorNotebook*)(SP_COLOR_SELECTOR(colorbook)->base); nb->switchPage( notebook, page, page_num ); - // remember the page we seitched to + // remember the page we switched to Inkscape::Preferences *prefs = Inkscape::Preferences::get(); prefs->setInt("/colorselector/page", page_num); } } void ColorNotebook::switchPage(GtkNotebook*, - GtkNotebookPage*, + GtkWidget*, guint page_num) { SPColorSelector* csel; diff --git a/src/widgets/sp-color-notebook.h b/src/widgets/sp-color-notebook.h index 8d2988636..85b4315ed 100644 --- a/src/widgets/sp-color-notebook.h +++ b/src/widgets/sp-color-notebook.h @@ -31,7 +31,7 @@ public: virtual void init(); SPColorSelector* getCurrentSelector(); - void switchPage( GtkNotebook *notebook, GtkNotebookPage *page, guint page_num ); + void switchPage( GtkNotebook *notebook, GtkWidget *page, guint page_num ); GtkWidget* addPage( GType page_type, guint submode ); void removePage( GType page_type, guint submode ); |
