[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: FYI: fix frame insets calculation

From: Thomas Fitzsimmons
Subject: Patch: FYI: fix frame insets calculation
Date: Tue, 13 Jan 2004 17:32:10 -0500

2004-01-13  Thomas Fitzsimmons  <address@hidden>

        * gnu/java/awt/peer/gtk/
        (initializeInsets): Remove method.
        (GtkComponentPeer): Initialize insets field.  Remove call to
        * gnu/java/awt/peer/gtk/ (initializeInsets):
        Remove method.
        * gnu/java/awt/peer/gtk/ (initializeInsets):
        Remove method.
        * gnu/java/awt/peer/gtk/,
        (latestInsets): Remove field.
        (native create): Add insets parameter.  Call
        window_get_frame_extents.  Set the window's default size and
        size request based on its frame extents.
        (create): Initialize insets.
        (postInsetsChangedEvent): New method.
        (postConfigureEvent): Remove parameters top, left, bottom,
        right.  Remove insets-related logic.
        (connectJObject): Handle property-notify-event.
        (window_get_frame_extents, request_frame_extents,
        property_notify_predicate, window_property_changed_cb): New
        static functions.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
        (pre_event_handler): Remove insets-related logic for configure
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
        Update postConfigureEvent signature.

Attachment: cp-frame-insets.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]