* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include "gdkwin32display.h"
#include "gdkwin32screen.h"
#include "gdkwin32window.h"
+#include "gdkwin32.h"
#define HAVE_MONITOR_INFO
{
int success;
HWND hwndOwner;
+#ifdef G_ENABLE_DEBUG
UINT nFormat = 0;
+#endif
GdkEvent *event;
GdkWindow *owner;
GdiFlush ();
}
+
+static void
+gdk_win32_display_sync (GdkDisplay * display)
+{
+ g_return_if_fail (display == _gdk_display);
+
+ GdiFlush ();
+}
+
static void
gdk_win32_display_dispose (GObject *object)
{
display_class->get_screen = gdk_win32_display_get_screen;
display_class->get_default_screen = gdk_win32_display_get_default_screen;
display_class->beep = gdk_win32_display_beep;
- display_class->sync = _gdk_win32_display_sync;
+ display_class->sync = gdk_win32_display_sync;
display_class->flush = gdk_win32_display_flush;
display_class->has_pending = _gdk_win32_display_has_pending;
display_class->queue_events = _gdk_win32_display_queue_events;