diff options
-rw-r--r-- | lib/ephy-state.c | 2 | ||||
-rw-r--r-- | lib/widgets/ephy-zoom-action.c | 1 | ||||
-rw-r--r-- | src/ephy-session.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/lib/ephy-state.c b/lib/ephy-state.c index 70e8ae5a8..04fa76d83 100644 --- a/lib/ephy-state.c +++ b/lib/ephy-state.c @@ -126,7 +126,7 @@ ephy_state_window_set_size (GtkWidget *window, EphyNode *node) { int width, height, w = -1, h = -1; gboolean maximize, size; -g_print("ephy-state!\n"); + width = ephy_node_get_property_int (node, EPHY_NODE_STATE_PROP_WIDTH); height = ephy_node_get_property_int (node, EPHY_NODE_STATE_PROP_HEIGHT); maximize = ephy_node_get_property_boolean (node, EPHY_NODE_STATE_PROP_MAXIMIZE); diff --git a/lib/widgets/ephy-zoom-action.c b/lib/widgets/ephy-zoom-action.c index 5a55f60b0..1abfd883b 100644 --- a/lib/widgets/ephy-zoom-action.c +++ b/lib/widgets/ephy-zoom-action.c @@ -134,7 +134,6 @@ proxy_menu_activate_cb (GtkMenuItem *menu_item, EphyZoomAction *action) if (zoom != action->priv->zoom) { - g_print ("zoom_to_level emit, to %f from %f\n", zoom, action->priv->zoom); g_signal_emit (action, signals[ZOOM_TO_LEVEL_SIGNAL], 0, zoom); } } diff --git a/src/ephy-session.c b/src/ephy-session.c index b80543493..365cdc4be 100644 --- a/src/ephy-session.c +++ b/src/ephy-session.c @@ -740,7 +740,7 @@ restore_geometry (GtkWindow *window, xmlChar *tmp; int x = 0, y = 0, width = -1, height = -1; gboolean success = TRUE; -g_print ("restore geometry!\n"); + g_return_if_fail (window != NULL); tmp = xmlGetProp (node, (xmlChar *) "x"); |