clean up enum format, remove extra comma, this keeps scanner scripts from
2000-04-15 Havoc Pennington <hp@pobox.com> * gdk/gdkdnd.h: clean up enum format, remove extra comma, this keeps scanner scripts from getting confused. * gdk/gdkdraw.c (gdk_drawable_get_data): This should return the data, rather than void
This commit is contained in:
parent
affbc828b3
commit
4fe58c01f9
@ -1,3 +1,11 @@
|
|||||||
|
2000-04-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.h: clean up enum format, remove extra comma,
|
||||||
|
this keeps scanner scripts from getting confused.
|
||||||
|
|
||||||
|
* gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
|
||||||
|
data, rather than void
|
||||||
|
|
||||||
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gtk/gtkclist.c (gtk_clist_motion)
|
* gtk/gtkclist.c (gtk_clist_motion)
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-04-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.h: clean up enum format, remove extra comma,
|
||||||
|
this keeps scanner scripts from getting confused.
|
||||||
|
|
||||||
|
* gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
|
||||||
|
data, rather than void
|
||||||
|
|
||||||
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gtk/gtkclist.c (gtk_clist_motion)
|
* gtk/gtkclist.c (gtk_clist_motion)
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-04-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.h: clean up enum format, remove extra comma,
|
||||||
|
this keeps scanner scripts from getting confused.
|
||||||
|
|
||||||
|
* gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
|
||||||
|
data, rather than void
|
||||||
|
|
||||||
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gtk/gtkclist.c (gtk_clist_motion)
|
* gtk/gtkclist.c (gtk_clist_motion)
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-04-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.h: clean up enum format, remove extra comma,
|
||||||
|
this keeps scanner scripts from getting confused.
|
||||||
|
|
||||||
|
* gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
|
||||||
|
data, rather than void
|
||||||
|
|
||||||
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gtk/gtkclist.c (gtk_clist_motion)
|
* gtk/gtkclist.c (gtk_clist_motion)
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-04-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.h: clean up enum format, remove extra comma,
|
||||||
|
this keeps scanner scripts from getting confused.
|
||||||
|
|
||||||
|
* gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
|
||||||
|
data, rather than void
|
||||||
|
|
||||||
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gtk/gtkclist.c (gtk_clist_motion)
|
* gtk/gtkclist.c (gtk_clist_motion)
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-04-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.h: clean up enum format, remove extra comma,
|
||||||
|
this keeps scanner scripts from getting confused.
|
||||||
|
|
||||||
|
* gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
|
||||||
|
data, rather than void
|
||||||
|
|
||||||
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gtk/gtkclist.c (gtk_clist_motion)
|
* gtk/gtkclist.c (gtk_clist_motion)
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
2000-04-15 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* gdk/gdkdnd.h: clean up enum format, remove extra comma,
|
||||||
|
this keeps scanner scripts from getting confused.
|
||||||
|
|
||||||
|
* gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
|
||||||
|
data, rather than void
|
||||||
|
|
||||||
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
2000-04-15 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gtk/gtkclist.c (gtk_clist_motion)
|
* gtk/gtkclist.c (gtk_clist_motion)
|
||||||
|
@ -9,7 +9,8 @@ extern "C" {
|
|||||||
|
|
||||||
typedef struct _GdkDragContext GdkDragContext;
|
typedef struct _GdkDragContext GdkDragContext;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum
|
||||||
|
{
|
||||||
GDK_ACTION_DEFAULT = 1 << 0,
|
GDK_ACTION_DEFAULT = 1 << 0,
|
||||||
GDK_ACTION_COPY = 1 << 1,
|
GDK_ACTION_COPY = 1 << 1,
|
||||||
GDK_ACTION_MOVE = 1 << 2,
|
GDK_ACTION_MOVE = 1 << 2,
|
||||||
@ -18,14 +19,15 @@ typedef enum {
|
|||||||
GDK_ACTION_ASK = 1 << 5
|
GDK_ACTION_ASK = 1 << 5
|
||||||
} GdkDragAction;
|
} GdkDragAction;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum
|
||||||
|
{
|
||||||
GDK_DRAG_PROTO_MOTIF,
|
GDK_DRAG_PROTO_MOTIF,
|
||||||
GDK_DRAG_PROTO_XDND,
|
GDK_DRAG_PROTO_XDND,
|
||||||
GDK_DRAG_PROTO_ROOTWIN, /* A root window with nobody claiming
|
GDK_DRAG_PROTO_ROOTWIN, /* A root window with nobody claiming
|
||||||
* drags */
|
* drags */
|
||||||
GDK_DRAG_PROTO_NONE, /* Not a valid drag window */
|
GDK_DRAG_PROTO_NONE, /* Not a valid drag window */
|
||||||
GDK_DRAG_PROTO_WIN32_DROPFILES, /* The simple WM_DROPFILES dnd */
|
GDK_DRAG_PROTO_WIN32_DROPFILES, /* The simple WM_DROPFILES dnd */
|
||||||
GDK_DRAG_PROTO_OLE2, /* The complex OLE2 dnd (not implemented) */
|
GDK_DRAG_PROTO_OLE2 /* The complex OLE2 dnd (not implemented) */
|
||||||
} GdkDragProtocol;
|
} GdkDragProtocol;
|
||||||
|
|
||||||
/* Structure that holds information about a drag in progress.
|
/* Structure that holds information about a drag in progress.
|
||||||
|
@ -63,11 +63,11 @@ gdk_drawable_set_data (GdkDrawable *drawable,
|
|||||||
g_dataset_set_data_full (drawable, key, data, destroy_func);
|
g_dataset_set_data_full (drawable, key, data, destroy_func);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
gpointer
|
||||||
gdk_drawable_get_data (GdkDrawable *drawable,
|
gdk_drawable_get_data (GdkDrawable *drawable,
|
||||||
const gchar *key)
|
const gchar *key)
|
||||||
{
|
{
|
||||||
g_dataset_get_data (drawable, key);
|
return g_dataset_get_data (drawable, key);
|
||||||
}
|
}
|
||||||
|
|
||||||
GdkDrawableType
|
GdkDrawableType
|
||||||
|
@ -120,7 +120,7 @@ void gdk_drawable_set_data (GdkDrawable *drawable,
|
|||||||
const gchar *key,
|
const gchar *key,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify destroy_func);
|
GDestroyNotify destroy_func);
|
||||||
void gdk_drawable_get_data (GdkDrawable *drawable,
|
gpointer gdk_drawable_get_data (GdkDrawable *drawable,
|
||||||
const gchar *key);
|
const gchar *key);
|
||||||
|
|
||||||
void gdk_drawable_get_size (GdkWindow *drawable,
|
void gdk_drawable_get_size (GdkWindow *drawable,
|
||||||
|
Loading…
Reference in New Issue
Block a user