[gnote/tabbed: 5/19] Remove no longer used size and pos hinting
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/tabbed: 5/19] Remove no longer used size and pos hinting
- Date: Tue, 2 Nov 2021 14:34:34 +0000 (UTC)
commit 89f17d186705199dbc17a04fb2f35b71ddb9210c
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Oct 17 17:36:47 2021 +0300
Remove no longer used size and pos hinting
src/mainwindowembeds.cpp | 10 +---------
src/mainwindowembeds.hpp | 2 --
2 files changed, 1 insertion(+), 11 deletions(-)
---
diff --git a/src/mainwindowembeds.cpp b/src/mainwindowembeds.cpp
index d48523af..58bf8f5b 100644
--- a/src/mainwindowembeds.cpp
+++ b/src/mainwindowembeds.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2013 Aurimas Cernius
+ * Copyright (C) 2013,2021 Aurimas Cernius
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -49,14 +49,6 @@ void EmbeddableWidget::background()
signal_backgrounded();
}
-void EmbeddableWidget::hint_position(int &, int &)
-{
-}
-
-void EmbeddableWidget::hint_size(int &, int &)
-{
-}
-
void EmbeddableWidget::size_internals()
{
}
diff --git a/src/mainwindowembeds.hpp b/src/mainwindowembeds.hpp
index 9628eb2f..f38428b0 100644
--- a/src/mainwindowembeds.hpp
+++ b/src/mainwindowembeds.hpp
@@ -56,8 +56,6 @@ public:
virtual void unembed();
virtual void foreground();
virtual void background();
- virtual void hint_position(int & x, int & y);
- virtual void hint_size(int & width, int & height);
virtual void size_internals();
virtual void set_initial_focus() {}
EmbeddableWidgetHost *host() const
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]