Make GtkMenuShell abstract

svn path=/trunk/; revision=18180
This commit is contained in:
Matthias Clasen
2007-06-18 01:07:01 +00:00
parent 0dfe8f8810
commit fddbefb1a4
5 changed files with 21 additions and 3 deletions

View File

@@ -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.

View File

@@ -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
======================

View File

@@ -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)

View File

@@ -446,7 +446,6 @@ that is, GUI components such as #GtkButton or #GtkTextView.
&GtkMenu;
&GtkMenuBar;
&GtkMenuItem;
&GtkMenuShell;
&GtkImageMenuItem;
&GtkRadioMenuItem;
&GtkCheckMenuItem;
@@ -556,6 +555,7 @@ that is, GUI components such as #GtkButton or #GtkTextView.
&GtkButtonBox;
&GtkContainer;
&GtkItem;
&GtkMenuShell;
&GtkMisc;
&GtkObject;
&GtkPaned;

View File

@@ -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)