diff options
author | Sorokin Alexei <[email protected]> | 2016-03-08 02:45:13 +0300 |
---|---|---|
committer | Sorokin Alexei <[email protected]> | 2016-03-08 02:45:13 +0300 |
commit | a3d1c5f081cf3cf820f6854384ad17ea2cc9c79a (patch) | |
tree | dc54743f40544b16c5f175d2b6b5cd69c8d9177b /src/terminal-screen-container.c | |
parent | c0efce1fb03875877ddc9e7d3a7aca77b10fd434 (diff) | |
download | mate-terminal-a3d1c5f081cf3cf820f6854384ad17ea2cc9c79a.tar.bz2 mate-terminal-a3d1c5f081cf3cf820f6854384ad17ea2cc9c79a.tar.xz |
remove debug callbacks for deprecated size-request signal
Diffstat (limited to 'src/terminal-screen-container.c')
-rw-r--r-- | src/terminal-screen-container.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/terminal-screen-container.c b/src/terminal-screen-container.c index 7017be9..290685c 100644 --- a/src/terminal-screen-container.c +++ b/src/terminal-screen-container.c @@ -100,13 +100,13 @@ terminal_screen_container_set_placement_set (TerminalScreenContainer *container, #if defined(USE_SCROLLED_WINDOW) && defined(MATE_ENABLE_DEBUG) static void -size_request_cb (GtkWidget *widget, - GtkRequisition *req, - TerminalScreenContainer *container) +size_allocate_cb (GtkWidget *widget, + GdkRectangle *rect, + TerminalScreenContainer *container) { _terminal_debug_print (TERMINAL_DEBUG_GEOMETRY, - "[screen %p] scrolled-window size req %d : %d\n", - container->priv->screen, req->width, req->height); + "[screen %p] scrolled-window size alloc %d : %d\n", + container->priv->screen, rect->width, rect->height); } #endif @@ -162,7 +162,7 @@ terminal_screen_container_constructor (GType type, gtk_widget_show (priv->scrolled_window); #ifdef MATE_ENABLE_DEBUG - g_signal_connect (priv->scrolled_window, "size-request", G_CALLBACK (size_request_cb), container); + g_signal_connect (priv->scrolled_window, "size-allocate", G_CALLBACK (size_allocate_cb), container); #endif #else |