forked from AuroraMiddleware/gtk
Add a GtkAccelGroupFindFunc to clean up the prototype. (#76670, Vitaly
Tue Sep 24 17:49:52 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkaccelgroup.[ch] (gtk_accel_group_find): Add a GtkAccelGroupFindFunc to clean up the prototype. (#76670, Vitaly Tishkov) * gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename gdkx_visual_get_for_screen() to gdk_x11_screen_lookup_visual(). (#85702)
This commit is contained in:
parent
e53e9652a5
commit
ad07608cc3
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
Tue Sep 24 17:49:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccelgroup.[ch] (gtk_accel_group_find):
|
||||
Add a GtkAccelGroupFindFunc to clean up the
|
||||
prototype. (#76670, Vitaly Tishkov)
|
||||
|
||||
* gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename
|
||||
gdkx_visual_get_for_screen() to
|
||||
gdk_x11_screen_lookup_visual(). (#85702)
|
||||
|
||||
2002-09-25 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
|
||||
|
@ -1,3 +1,13 @@
|
||||
Tue Sep 24 17:49:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccelgroup.[ch] (gtk_accel_group_find):
|
||||
Add a GtkAccelGroupFindFunc to clean up the
|
||||
prototype. (#76670, Vitaly Tishkov)
|
||||
|
||||
* gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename
|
||||
gdkx_visual_get_for_screen() to
|
||||
gdk_x11_screen_lookup_visual(). (#85702)
|
||||
|
||||
2002-09-25 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
|
||||
|
@ -1,3 +1,13 @@
|
||||
Tue Sep 24 17:49:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccelgroup.[ch] (gtk_accel_group_find):
|
||||
Add a GtkAccelGroupFindFunc to clean up the
|
||||
prototype. (#76670, Vitaly Tishkov)
|
||||
|
||||
* gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename
|
||||
gdkx_visual_get_for_screen() to
|
||||
gdk_x11_screen_lookup_visual(). (#85702)
|
||||
|
||||
2002-09-25 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
|
||||
|
@ -1,3 +1,13 @@
|
||||
Tue Sep 24 17:49:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccelgroup.[ch] (gtk_accel_group_find):
|
||||
Add a GtkAccelGroupFindFunc to clean up the
|
||||
prototype. (#76670, Vitaly Tishkov)
|
||||
|
||||
* gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename
|
||||
gdkx_visual_get_for_screen() to
|
||||
gdk_x11_screen_lookup_visual(). (#85702)
|
||||
|
||||
2002-09-25 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
|
||||
|
@ -1,3 +1,13 @@
|
||||
Tue Sep 24 17:49:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccelgroup.[ch] (gtk_accel_group_find):
|
||||
Add a GtkAccelGroupFindFunc to clean up the
|
||||
prototype. (#76670, Vitaly Tishkov)
|
||||
|
||||
* gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename
|
||||
gdkx_visual_get_for_screen() to
|
||||
gdk_x11_screen_lookup_visual(). (#85702)
|
||||
|
||||
2002-09-25 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
|
||||
|
@ -1,3 +1,13 @@
|
||||
Tue Sep 24 17:49:52 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkaccelgroup.[ch] (gtk_accel_group_find):
|
||||
Add a GtkAccelGroupFindFunc to clean up the
|
||||
prototype. (#76670, Vitaly Tishkov)
|
||||
|
||||
* gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename
|
||||
gdkx_visual_get_for_screen() to
|
||||
gdk_x11_screen_lookup_visual(). (#85702)
|
||||
|
||||
2002-09-25 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
|
||||
|
@ -537,17 +537,18 @@ gdk_screen_list_visuals (GdkScreen *screen)
|
||||
}
|
||||
|
||||
/**
|
||||
* gdkx_visual_get_for_screen:
|
||||
* gdk_x11_screen_lookup_visual
|
||||
* @screen: a #GdkScreen.
|
||||
* @xvisualid: an X Visual ID.
|
||||
*
|
||||
* Returns a #GdkVisual from and X Visual id.
|
||||
* Looks up the #GdkVisual for a particular screen and X Visual ID.
|
||||
*
|
||||
* Returns: a #GdkVisual.
|
||||
* Returns: the #GdkVisual (owned by the screen object), or %NULL
|
||||
* if the visual ID wasn't found.
|
||||
*/
|
||||
GdkVisual *
|
||||
gdkx_visual_get_for_screen (GdkScreen *screen,
|
||||
VisualID xvisualid)
|
||||
gdk_x11_screen_lookup_visual (GdkScreen *screen,
|
||||
VisualID xvisualid)
|
||||
{
|
||||
int i;
|
||||
GdkScreenX11 *screen_x11;
|
||||
|
@ -116,8 +116,8 @@ gint gdk_x11_get_default_screen (void);
|
||||
|
||||
#endif /* INSIDE_GDK_X11 */
|
||||
|
||||
GdkVisual* gdkx_visual_get_for_screen (GdkScreen *screen,
|
||||
VisualID xvisualid);
|
||||
GdkVisual* gdk_x11_screen_lookup_visual (GdkScreen *screen,
|
||||
VisualID xvisualid);
|
||||
#ifndef GDK_MULTIHEAD_SAFE
|
||||
GdkVisual* gdkx_visual_get (VisualID xvisualid);
|
||||
#endif
|
||||
|
@ -269,11 +269,9 @@ gtk_accel_groups_from_object (GObject *object)
|
||||
*
|
||||
*/
|
||||
GtkAccelKey*
|
||||
gtk_accel_group_find (GtkAccelGroup *accel_group,
|
||||
gboolean (*find_func) (GtkAccelKey *key,
|
||||
GClosure *closure,
|
||||
gpointer data),
|
||||
gpointer data)
|
||||
gtk_accel_group_find (GtkAccelGroup *accel_group,
|
||||
GtkAccelGroupFindFunc find_func,
|
||||
gpointer data)
|
||||
{
|
||||
GtkAccelKey *key = NULL;
|
||||
guint i;
|
||||
|
@ -61,6 +61,11 @@ typedef gboolean (*GtkAccelGroupActivate) (GtkAccelGroup *accel_group,
|
||||
GObject *acceleratable,
|
||||
guint keyval,
|
||||
GdkModifierType modifier);
|
||||
|
||||
typedef gboolean (*GtkAccelGroupFindFunc) (GtkAccelKey *key,
|
||||
GClosure *closure,
|
||||
gpointer data)
|
||||
|
||||
struct _GtkAccelGroup
|
||||
{
|
||||
GObject parent;
|
||||
@ -124,11 +129,9 @@ gboolean gtk_accel_groups_activate (GObject *object,
|
||||
guint accel_key,
|
||||
GdkModifierType accel_mods);
|
||||
GSList* gtk_accel_groups_from_object (GObject *object);
|
||||
GtkAccelKey* gtk_accel_group_find (GtkAccelGroup *accel_group,
|
||||
gboolean (*find_func) (GtkAccelKey *key,
|
||||
GClosure *closure,
|
||||
gpointer data),
|
||||
gpointer data);
|
||||
GtkAccelKey* gtk_accel_group_find (GtkAccelGroup *accel_group,
|
||||
GtkAccelGroupFindFunc find_func,
|
||||
gpointer data);
|
||||
GtkAccelGroup* gtk_accel_group_from_accel_closure (GClosure *closure);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user