summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2011-06-27 23:15:56 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2011-06-27 23:15:56 +0000
commitc7ab8e7579d5eaa7fd1e46992a9a975ac2e84ba7 (patch)
tree13c6567535dfc7b06e1c635c87387c2291ea75b1 /src/widgets
parentGtk cleanup: gtk_signal_connect_while_alive (diff)
downloadinkscape-c7ab8e7579d5eaa7fd1e46992a9a975ac2e84ba7.tar.gz
inkscape-c7ab8e7579d5eaa7fd1e46992a9a975ac2e84ba7.zip
Rm a few instances of deprecated GtkNotebookPage. gtkmm-2.4 still uses it
(bzr r10350.1.10)
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/sp-color-notebook.cpp6
-rw-r--r--src/widgets/sp-color-notebook.h2
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 );