Fix a copy-and-paste error. (#158459)

2004-11-16  Matthias Clasen  <mclasen@redhat.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a
	copy-and-paste error.  (#158459)
This commit is contained in:
Matthias Clasen 2004-11-16 17:32:15 +00:00 committed by Matthias Clasen
parent b23e4c2349
commit d7e3747b49
5 changed files with 13 additions and 1 deletions

View File

@ -5,6 +5,9 @@
2004-11-16 Matthias Clasen <mclasen@redhat.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a
copy-and-paste error. (#158459)
* demos/gtk-demo/*.c: Don't include config.h in the examples.
Tue Nov 16 00:08:07 2004 Jonathan Blandford <jrb@redhat.com>

View File

@ -5,6 +5,9 @@
2004-11-16 Matthias Clasen <mclasen@redhat.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a
copy-and-paste error. (#158459)
* demos/gtk-demo/*.c: Don't include config.h in the examples.
Tue Nov 16 00:08:07 2004 Jonathan Blandford <jrb@redhat.com>

View File

@ -5,6 +5,9 @@
2004-11-16 Matthias Clasen <mclasen@redhat.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a
copy-and-paste error. (#158459)
* demos/gtk-demo/*.c: Don't include config.h in the examples.
Tue Nov 16 00:08:07 2004 Jonathan Blandford <jrb@redhat.com>

View File

@ -5,6 +5,9 @@
2004-11-16 Matthias Clasen <mclasen@redhat.com>
* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a
copy-and-paste error. (#158459)
* demos/gtk-demo/*.c: Don't include config.h in the examples.
Tue Nov 16 00:08:07 2004 Jonathan Blandford <jrb@redhat.com>

View File

@ -3282,7 +3282,7 @@ gdk_event_translate (GdkDisplay *display,
maxw = rect.right - rect.left;
maxh = rect.bottom - rect.top;
mmi->ptMaxTrackSize.x = maxw > 0 && maxw < G_MAXSHORT ? maxw : G_MAXSHORT;
mmi->ptMaxTrackSize.y = maxh > 0 && maxh < G_MAXSHORT ? maxw : G_MAXSHORT;
mmi->ptMaxTrackSize.y = maxh > 0 && maxh < G_MAXSHORT ? maxh : G_MAXSHORT;
}
if (impl->hint_flags & (GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE))