diff options
author | Benjamin Otte <otte@redhat.com> | 2010-11-24 14:46:49 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-12-02 20:21:04 +0100 |
commit | 3494f87a10ec69521c2e3b4f5073d25385838297 (patch) | |
tree | b2a1d7ad86b5697f335a29784fdd5a095cae79af /gdk | |
parent | 98838df2dbc9e337b71dcbe26efb341e8cfea8a1 (diff) | |
download | gtk+-3494f87a10ec69521c2e3b4f5073d25385838297.tar.gz |
API: Remove GdkNoExposeEvent
It's not used by anyone and not supported by any backend but X11.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkevents.c | 2 | ||||
-rw-r--r-- | gdk/gdkevents.h | 22 | ||||
-rw-r--r-- | gdk/gdkwindow.c | 1 | ||||
-rw-r--r-- | gdk/win32/gdkevents-win32.c | 1 | ||||
-rw-r--r-- | gdk/x11/gdkdisplay-x11.c | 10 |
5 files changed, 0 insertions, 36 deletions
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index b0b747ea82..272fb32853 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -636,7 +636,6 @@ gdk_event_get_time (const GdkEvent *event) return event->dnd.time; case GDK_CLIENT_EVENT: case GDK_VISIBILITY_NOTIFY: - case GDK_NO_EXPOSE: case GDK_CONFIGURE: case GDK_FOCUS_CHANGE: case GDK_NOTHING: @@ -704,7 +703,6 @@ gdk_event_get_state (const GdkEvent *event, return TRUE; case GDK_VISIBILITY_NOTIFY: case GDK_CLIENT_EVENT: - case GDK_NO_EXPOSE: case GDK_CONFIGURE: case GDK_FOCUS_CHANGE: case GDK_SELECTION_CLEAR: diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h index caecd97dad..fcefc6c1c8 100644 --- a/gdk/gdkevents.h +++ b/gdk/gdkevents.h @@ -77,7 +77,6 @@ G_BEGIN_DECLS typedef struct _GdkEventAny GdkEventAny; typedef struct _GdkEventExpose GdkEventExpose; -typedef struct _GdkEventNoExpose GdkEventNoExpose; typedef struct _GdkEventVisibility GdkEventVisibility; typedef struct _GdkEventMotion GdkEventMotion; typedef struct _GdkEventButton GdkEventButton; @@ -205,8 +204,6 @@ typedef GdkFilterReturn (*GdkFilterFunc) (GdkXEvent *xevent, * @GDK_DROP_FINISHED: the drop operation initiated by the window has completed. * @GDK_CLIENT_EVENT: a message has been received from another application. * @GDK_VISIBILITY_NOTIFY: the window visibility status has changed. - * @GDK_NO_EXPOSE: indicates that the source region was completely available - * when parts of a drawable were copied. This is not very useful. * @GDK_SCROLL: the scroll wheel was turned * @GDK_WINDOW_STATE: the state of a window has changed. See #GdkWindowState * for the possible window states @@ -258,7 +255,6 @@ typedef enum GDK_DROP_FINISHED = 27, GDK_CLIENT_EVENT = 28, GDK_VISIBILITY_NOTIFY = 29, - GDK_NO_EXPOSE = 30, GDK_SCROLL = 31, GDK_WINDOW_STATE = 32, GDK_SETTING = 33, @@ -466,23 +462,6 @@ struct _GdkEventExpose }; /** - * GdkEventNoExpose: - * @type: the type of the event (%GDK_NO_EXPOSE). - * @window: the window which received the event. - * @send_event: %TRUE if the event was sent explicitly (e.g. using - * <function>XSendEvent</function>). - * - * Generated when the area of a #GdkDrawable being copied was completely - * available. - */ -struct _GdkEventNoExpose -{ - GdkEventType type; - GdkWindow *window; - gint8 send_event; -}; - -/** * GdkEventVisibility: * @type: the type of the event (%GDK_VISIBILITY_NOTIFY). * @window: the window which received the event. @@ -1064,7 +1043,6 @@ union _GdkEvent GdkEventType type; GdkEventAny any; GdkEventExpose expose; - GdkEventNoExpose no_expose; GdkEventVisibility visibility; GdkEventMotion motion; GdkEventButton button; diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 25dd678f8a..20632c7fa5 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -8323,7 +8323,6 @@ _gdk_make_event (GdkWindow *window, case GDK_UNMAP: case GDK_CLIENT_EVENT: case GDK_VISIBILITY_NOTIFY: - case GDK_NO_EXPOSE: case GDK_DELETE: case GDK_DESTROY: case GDK_EXPOSE: diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index bea28a8b7e..31b1dae33c 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -756,7 +756,6 @@ _gdk_win32_print_event (const GdkEvent *event) CASE (GDK_DROP_FINISHED); CASE (GDK_CLIENT_EVENT); CASE (GDK_VISIBILITY_NOTIFY); - CASE (GDK_NO_EXPOSE); CASE (GDK_SCROLL); CASE (GDK_WINDOW_STATE); CASE (GDK_SETTING); diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c index eaa2b5a7a4..bfcc358cce 100644 --- a/gdk/x11/gdkdisplay-x11.c +++ b/gdk/x11/gdkdisplay-x11.c @@ -523,16 +523,6 @@ gdk_display_x11_translate_event (GdkEventTranslator *translator, } break; - case NoExpose: - GDK_NOTE (EVENTS, - g_message ("no expose:\t\tdrawable: %ld", - xevent->xnoexpose.drawable)); - - event->no_expose.type = GDK_NO_EXPOSE; - event->no_expose.window = window; - - break; - case VisibilityNotify: #ifdef G_ENABLE_DEBUG if (_gdk_debug_flags & GDK_DEBUG_EVENTS) |