Commit ef66ea29 authored by Hartmut Kuhse's avatar Hartmut Kuhse

app: don't assign variable before checking the validity

parent 968477de
......@@ -738,7 +738,7 @@ gimp_session_info_read_geometry (GimpSessionInfo *info,
GdkEventConfigure *cevent)
{
GdkWindow *window;
GdkScreen *screen = gtk_widget_get_screen (info->p->widget);
GdkScreen *screen;
g_return_if_fail (GIMP_IS_SESSION_INFO (info));
g_return_if_fail (GTK_IS_WINDOW (info->p->widget));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment