diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-08-17 18:13:02 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-08-20 13:11:01 -0400 |
commit | 652f16dd985dbc1bebb64b93abf490c9b4abc95c (patch) | |
tree | f20c2315a34d2c7e7242edecca430e5b7a088d7d /gtk/Makefile.am | |
parent | d30d56452cbd8d1c495c902018df17dee14875c8 (diff) | |
download | gtk+-652f16dd985dbc1bebb64b93abf490c9b4abc95c.tar.gz |
introduce private GtkActionHelper
The current process of implementing GActionObserver is annoying and the
GSimpleActionObserver interface leaves a lot to be desired. Introduce a
new class, GtkActionHelper that gives you pretty much everything you'd
want to do as an implementor of GtkActionable.
The GtkActionHelper also features an "application" mode that is not
associated with a particular GtkWidget but rather with whatever widget
happens to be the active window of the given GtkApplication at a
particular point in time. This will be useful for the Mac OS menubar.
Diffstat (limited to 'gtk/Makefile.am')
-rw-r--r-- | gtk/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am index 397fa4fa25..2dec8dbc6d 100644 --- a/gtk/Makefile.am +++ b/gtk/Makefile.am @@ -407,6 +407,7 @@ gtk_private_h_sources = \ gtkapplicationprivate.h \ gtkaccelgroupprivate.h \ gtkaccelmapprivate.h \ + gtkactionhelper.h \ gtkallocatedbitmaskprivate.h \ gtkappchooserprivate.h \ gtkappchoosermodule.h \ @@ -586,6 +587,7 @@ gtk_base_c_sources = \ gtkaccelmap.c \ gtkaccessible.c \ gtkaction.c \ + gtkactionhelper.c \ gtkactiongroup.c \ gtkactivatable.c \ gtkadjustment.c \ |