aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-31 21:16:10 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-01 00:10:54 +0800
commitf8f89b0bfd8ef857dceed2a96df16a008290d53b (patch)
tree02f0b13683bf8e39df7ab12aa84cc9fe324e7a0d /shell/e-shell-window.c
parent50b164637fb0cca89a20793341102b0ddbfc5b50 (diff)
downloadgsoc2013-evolution-f8f89b0bfd8ef857dceed2a96df16a008290d53b.tar
gsoc2013-evolution-f8f89b0bfd8ef857dceed2a96df16a008290d53b.tar.gz
gsoc2013-evolution-f8f89b0bfd8ef857dceed2a96df16a008290d53b.tar.bz2
gsoc2013-evolution-f8f89b0bfd8ef857dceed2a96df16a008290d53b.tar.lz
gsoc2013-evolution-f8f89b0bfd8ef857dceed2a96df16a008290d53b.tar.xz
gsoc2013-evolution-f8f89b0bfd8ef857dceed2a96df16a008290d53b.tar.zst
gsoc2013-evolution-f8f89b0bfd8ef857dceed2a96df16a008290d53b.zip
Remove e_shell_adapt_window_size().
Its preconditions are never TRUE, and is therefore a no-op function.
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index f2cfdc7fc9..acf31a5eca 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -726,20 +726,6 @@ shell_window_create_shell_view (EShellWindow *shell_window,
}
static void
-shell_window_realize (GtkWidget *widget)
-{
- EShellWindow *shell_window;
-
- shell_window = E_SHELL_WINDOW (widget);
- e_shell_adapt_window_size (
- shell_window->priv->shell,
- GTK_WINDOW (widget));
-
- /* Chain up to parent's dispose() method. */
- GTK_WIDGET_CLASS (e_shell_window_parent_class)->realize (widget);
-}
-
-static void
shell_window_submit_alert (EAlertSink *alert_sink,
EAlert *alert)
{
@@ -771,7 +757,6 @@ static void
e_shell_window_class_init (EShellWindowClass *class)
{
GObjectClass *object_class;
- GtkWidgetClass *widget_class;
g_type_class_add_private (class, sizeof (EShellWindowPrivate));
@@ -782,9 +767,6 @@ e_shell_window_class_init (EShellWindowClass *class)
object_class->finalize = shell_window_finalize;
object_class->constructed = shell_window_constructed;
- widget_class = GTK_WIDGET_CLASS (class);
- widget_class->realize = shell_window_realize;
-
class->construct_menubar = shell_window_construct_menubar;
class->construct_toolbar = shell_window_construct_toolbar;
class->construct_sidebar = shell_window_construct_sidebar;