[gtk+/wip/gmenu: 48/87] Some coding style fixes



commit 4b2d11bb18ea199e9a281b981036d922ac9ab558
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 30 23:49:23 2011 -0500

    Some coding style fixes

 gtk/gtkapplicationwindow.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkapplicationwindow.c b/gtk/gtkapplicationwindow.c
index cf7a29a..fefb7d2 100644
--- a/gtk/gtkapplicationwindow.c
+++ b/gtk/gtkapplicationwindow.c
@@ -27,6 +27,7 @@
 #include "gtkcheckmenuitem.h"
 #include "gtkmenubar.h"
 #include "gactionmuxer.h"
+#include "gtkintl.h"
 
 /**
  * SECTION:gtkapplicationwindow
@@ -431,8 +432,10 @@ gtk_application_window_class_init (GtkApplicationWindowClass *class)
   object_class->dispose = gtk_application_window_dispose;
 
   gtk_application_window_properties[PROP_SHOW_APP_MENU] =
-    g_param_spec_boolean ("show-app-menu", "show application menu",
-                          "TRUE if the application menu should be included in the menubar at the top of the window",
+    g_param_spec_boolean ("show-app-menu",
+                          P_("Show application menu"),
+                          P_("TRUE if the application menu should be included "
+                             "in the menubar at the top of the window"),
                           FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE);
   g_object_class_install_properties (object_class, N_PROPS, gtk_application_window_properties);
   g_type_class_add_private (class, sizeof (GtkApplicationWindowPrivate));
@@ -865,8 +868,6 @@ items_changed (GMenuModel *model,
  * This function returns %NULL if @window has no associated
  * menu model.
  *
- * @menu may be a #GtkMenu or a #GtkMenuBar.
- *
  * Returns: A #GtkMenu that has been populated from the
  *     #GMenuModel that is associated with @window, or %NULL
  */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]