]> Pileus Git - ~andy/gtk/commitdiff
Make GtkMenuShell abstract
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 18 Jun 2007 01:07:01 +0000 (01:07 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 18 Jun 2007 01:07:01 +0000 (01:07 +0000)
svn path=/trunk/; revision=18180

ChangeLog
README.in
docs/reference/ChangeLog
docs/reference/gtk/gtk-docs.sgml
gtk/gtkmenushell.c

index 3afa29c119017781c8267778e9fb48f10a67bf0e..08935e4d4fff844a50160da37c2c28d907ba7dcb 100644 (file)
--- a/ChangeLog
+++ b/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.
index 150db7ed584705d86434c0c49b6a6a8aa6b67d4b..800d066ce5789c1a2dc05d50a662d8fffd9431ee 100644 (file)
--- a/README.in
+++ b/README.in
@@ -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
 ======================
index 4d6f01f221f92943fcb1691b94c9ed78b89abcb9..a9788a29498fdca25ee2b1e78fd7d2af2795268a 100644 (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)
index 4447661c75504ee6cb076c922f5cc3939b83b936..b530992f097a4e93a9895a55bcea5477b90d5500 100644 (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;
index 0faa0872044e9b27e982329ad3636fc25a173bc0..fc60f51dbcf78cc99a22f3e7e8379a0d15599659 100644 (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)