From d68834a740cb3ac396dea12f1d4cb73d309a240e Mon Sep 17 00:00:00 2001 From: monsta Date: Sat, 23 Dec 2017 15:17:49 +0300 Subject: libslab: remove more unused code --- libslab/shell-window.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libslab/shell-window.c') diff --git a/libslab/shell-window.c b/libslab/shell-window.c index 2e97a22f..b27cb5d8 100644 --- a/libslab/shell-window.c +++ b/libslab/shell-window.c @@ -97,15 +97,6 @@ shell_window_handle_size_request (GtkWidget * widget, GtkRequisition * requisiti gtk_widget_get_preferred_size (GTK_WIDGET (APP_RESIZER (app_data->category_layout)->child), &child_requisiton, NULL); - /* - Fixme - counting on this being called after the real size request is done. - seems to be that way but I don't know why. I would think I would need to explictly call it here first - printf("Enter - shell_window_handle_size_request\n"); - printf("passed in width:%d, height:%d\n", requisition->width, requisition->height); - printf("left side width:%d\n", SHELL_WINDOW(widget)->_left_pane->requisition.width); - printf("right side width:%d\n", GTK_WIDGET(APP_RESIZER(app_data->category_layout)->child)->requisition.width); - */ - requisition->width += child_requisiton.width; /* use the left side as a minimum height, if the right side is taller, -- cgit v1.2.1