summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/entry.h
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-03-23 13:30:43 +0000
committerJohn Smith <removethis.john.q.public@bigmail.com>2012-03-23 13:30:43 +0000
commit64d4659e32867f30f2dfa71c21778a834894ffca (patch)
tree03ef61a1e8a7bf64bde2eecf8aaa3c07b3a6e080 /src/ui/widget/entry.h
parentFix for 903676 : Replace GtkCList with GtkTreeView in XML Tree, selection bug... (diff)
downloadinkscape-64d4659e32867f30f2dfa71c21778a834894ffca.tar.gz
inkscape-64d4659e32867f30f2dfa71c21778a834894ffca.zip
Fix for 909328 : Dockable Find & Replace dialog, replace ComboBoxText with Entry to fix build error with gtkmm2.4
(bzr r11119)
Diffstat (limited to 'src/ui/widget/entry.h')
-rw-r--r--src/ui/widget/entry.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/ui/widget/entry.h b/src/ui/widget/entry.h
index be7c8b450..53b848fc9 100644
--- a/src/ui/widget/entry.h
+++ b/src/ui/widget/entry.h
@@ -37,50 +37,6 @@ public:
Gtk::Entry* getEntry() {return (Gtk::Entry*)(_widget);};
};
-class ComboBoxText : public Labelled
-{
-public:
- ComboBoxText( Glib::ustring const &label,
- Glib::ustring const &tooltip,
- Glib::ustring const &suffix = "",
- Glib::ustring const &icon = "",
- bool mnemonic = true);
-
- Gtk::ComboBoxText* getWidget() { return (Gtk::ComboBoxText *)_widget; };
- Gtk::Entry* getEntry() { return (Gtk::Entry *)getWidget()->get_child(); };
- Glib::ustring get_text() { return getEntry()->get_text(); };
- void prepend_text(const Glib::ustring& text) {
-#if WITH_GTKMM_2_24
- getWidget()->prepend(text);
-#else
- getWidget()->prepend_text(text);
-#endif
- };
- void append_text(const Glib::ustring& text) {
-#if WITH_GTKMM_2_24
- getWidget()->append(text);
-#else
- getWidget()->append_text(text);
-#endif
- };
- void insert_text(gint position, const Glib::ustring& text) {
-#if WITH_GTKMM_2_24
- getWidget()->insert(position, text);
-#else
- getWidget()->insert_text(position, text);
-#endif
- };
- void remove_text(const Glib::ustring& text) { getWidget()->remove_text(text); };
- void remove_all() {
-#if WITH_GTKMM_2_24
- getWidget()->remove_all();
-#else
- getWidget()->clear_items();
-#endif
- };
-
-};
-
} // namespace Widget
} // namespace UI
} // namespace Inkscape