[glom] Remove unused methods.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Remove unused methods.
- Date: Sun, 1 Nov 2015 12:58:16 +0000 (UTC)
commit 9bdad5920b45f7ef1ed97d565095e88f090efd24
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Oct 30 14:28:12 2015 +0100
Remove unused methods.
glom/utility_widgets/layouttoolbarbutton.cc | 11 -----------
glom/utility_widgets/layouttoolbarbutton.h | 3 ---
2 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/glom/utility_widgets/layouttoolbarbutton.cc b/glom/utility_widgets/layouttoolbarbutton.cc
index 0fde766..1900eac 100644
--- a/glom/utility_widgets/layouttoolbarbutton.cc
+++ b/glom/utility_widgets/layouttoolbarbutton.cc
@@ -58,15 +58,4 @@ LayoutToolbarButton::~LayoutToolbarButton()
}
-void LayoutToolbarButton::on_drag_data_get(const Glib::RefPtr<Gdk::DragContext>&,
- Gtk::SelectionData& selection_data, guint, guint)
-{
- selection_data.set(8, (guint8*)(&m_type), 4);
-}
-
-void LayoutToolbarButton::on_drag_begin(const Glib::RefPtr<Gdk::DragContext>& drag_context)
-{
- drag_context->set_icon(dynamic_cast<Gtk::Image*>(get_icon_widget())->get_pixbuf(), 0, 0);
-}
-
} // namespace Glom
diff --git a/glom/utility_widgets/layouttoolbarbutton.h b/glom/utility_widgets/layouttoolbarbutton.h
index 08dc4a8..5505527 100644
--- a/glom/utility_widgets/layouttoolbarbutton.h
+++ b/glom/utility_widgets/layouttoolbarbutton.h
@@ -45,9 +45,6 @@ private:
{
return "glom_print_layout_palette";
};
-
- void on_drag_begin(const Glib::RefPtr<Gdk::DragContext>& drag_context) override;
- void on_drag_data_get(const Glib::RefPtr<Gdk::DragContext>&, Gtk::SelectionData& selection_data, guint,
guint) override;
private:
LayoutWidgetBase::enumType m_type;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]