Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Make GtkMenuShell abstract
Browse files Browse the repository at this point in the history
svn path=/trunk/; revision=18180
  • Loading branch information
Matthias Clasen committed Jun 18, 2007
1 parent 0dfe8f8 commit fddbefb
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
@@ -1,3 +1,10 @@
2007-06-17 Matthias Clasen <mclasen@redhat.com>

* README.in: Updates

* gtk/gtkmenushell.c: Make GtkMenuShell as an abstract type.
It was already documented as such. (#412357, Vincent Geddes)

2007-06-17 Matthias Clasen <mclasen@redhat.com>

* gtk/gtkcontainer.c: Fix a doc typo.
Expand Down
11 changes: 9 additions & 2 deletions README.in
Expand Up @@ -77,8 +77,15 @@ Release notes for 2.12
now passed the print settings on the command line with the --print-settings
parameter pointing to a temp file containing the settings. The preview
application assumes ownership of the file and should delete it once it does
not need it anymore. This feature requires Evince version 0.9.0 or above.

not need it anymore. The --print-settings commandline option is understood
by Evince 0.9.0 and newer. To use a different print preview application,
change the gtk-print-preview-command setting in your gtkrc file, e.g.
gtk-print-preview-command = "ggv %f"

* GtkMenuShell is now defined as an abstract type. It was already
documented as an abstract class, and there is little reason to
instantiate it.


Release notes for 2.10
======================
Expand Down
4 changes: 4 additions & 0 deletions docs/reference/ChangeLog
@@ -1,3 +1,7 @@
2007-06-17 Matthias Clasen <mclasen@redhat.com>

* gtk/gtk-docs.sgml: Move GtkMenuShell to the abstract widgets.

2007-06-17 Jan Arne Petersen <jpetersen@jpetersen.org>

* gtk/gtk-docs.sgml: Add GtkTooltip. (#448341)
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/gtk/gtk-docs.sgml
Expand Up @@ -446,7 +446,6 @@ that is, GUI components such as #GtkButton or #GtkTextView.
&GtkMenu;
&GtkMenuBar;
&GtkMenuItem;
&GtkMenuShell;
&GtkImageMenuItem;
&GtkRadioMenuItem;
&GtkCheckMenuItem;
Expand Down Expand Up @@ -556,6 +555,7 @@ that is, GUI components such as #GtkButton or #GtkTextView.
&GtkButtonBox;
&GtkContainer;
&GtkItem;
&GtkMenuShell;
&GtkMisc;
&GtkObject;
&GtkPaned;
Expand Down
2 changes: 1 addition & 1 deletion gtk/gtkmenushell.c
Expand Up @@ -199,7 +199,7 @@ static gboolean gtk_menu_shell_real_move_selected (GtkMenuShell *menu_shell,

static guint menu_shell_signals[LAST_SIGNAL] = { 0 };

G_DEFINE_TYPE (GtkMenuShell, gtk_menu_shell, GTK_TYPE_CONTAINER)
G_DEFINE_ABSTRACT_TYPE (GtkMenuShell, gtk_menu_shell, GTK_TYPE_CONTAINER)

static void
gtk_menu_shell_class_init (GtkMenuShellClass *klass)
Expand Down

0 comments on commit fddbefb

Please sign in to comment.