Remove all nicks and blurbs from param specs
authorSophie Herold <sophie@hemio.de>
Wed, 11 May 2022 12:19:39 +0000 (14:19 +0200)
committerSophie Herold <sophie@hemio.de>
Wed, 11 May 2022 16:16:29 +0000 (18:16 +0200)
Those property features don't seem to be in use anywhere.
They are redundant since the docs cover the same information
and more. They also created unnecessary translation work.

Closes #4904

256 files changed:
gdk/gdkapplaunchcontext.c
gdk/gdkclipboard.c
gdk/gdkcontentprovider.c
gdk/gdkcursor.c
gdk/gdkdevice.c
gdk/gdkdevicetool.c
gdk/gdkdisplay.c
gdk/gdkdisplaymanager.c
gdk/gdkdrag.c
gdk/gdkdrawcontext.c
gdk/gdkdrop.c
gdk/gdkglcontext.c
gdk/gdkintl.h
gdk/gdkkeys.c
gdk/gdkmonitor.c
gdk/gdkpopup.c
gdk/gdkseat.c
gdk/gdksurface.c
gdk/gdktexture.c
gdk/gdktoplevel.c
gdk/macos/gdkmacosdrag.c
gdk/macos/gdkmacossurface.c
gdk/win32/gdkcursor-win32.c
gdk/x11/gdkdevice-xi2.c
gdk/x11/gdkdevicemanager-xi2.c
gsk/gl/gskglprofiler.c
gsk/gl/gskglshadowlibrary.c
gsk/gl/gskgltexturelibrary.c
gsk/gskglshader.c
gsk/gskrenderer.c
gtk/gtkaboutdialog.c
gtk/gtkaccessible.c
gtk/gtkactionable.c
gtk/gtkactionbar.c
gtk/gtkactionhelper.c
gtk/gtkactionmuxer.c
gtk/gtkadjustment.c
gtk/gtkappchooser.c
gtk/gtkappchooserbutton.c
gtk/gtkappchooserdialog.c
gtk/gtkappchooserwidget.c
gtk/gtkapplication.c
gtk/gtkapplicationwindow.c
gtk/gtkaspectframe.c
gtk/gtkassistant.c
gtk/gtkatcontext.c
gtk/gtkbookmarklist.c
gtk/gtkboolfilter.c
gtk/gtkbox.c
gtk/gtkboxlayout.c
gtk/gtkbuilder.c
gtk/gtkbuilderlistitemfactory.c
gtk/gtkbutton.c
gtk/gtkcalendar.c
gtk/gtkcellarea.c
gtk/gtkcellareabox.c
gtk/gtkcellareacontext.c
gtk/gtkcelleditable.c
gtk/gtkcellrenderer.c
gtk/gtkcellrendereraccel.c
gtk/gtkcellrenderercombo.c
gtk/gtkcellrendererpixbuf.c
gtk/gtkcellrendererprogress.c
gtk/gtkcellrendererspin.c
gtk/gtkcellrendererspinner.c
gtk/gtkcellrenderertext.c
gtk/gtkcellrenderertoggle.c
gtk/gtkcellview.c
gtk/gtkcenterbox.c
gtk/gtkcheckbutton.c
gtk/gtkcolorbutton.c
gtk/gtkcolorchooser.c
gtk/gtkcolorchooserdialog.c
gtk/gtkcolorchooserwidget.c
gtk/gtkcolorplane.c
gtk/gtkcolorscale.c
gtk/gtkcolorswatch.c
gtk/gtkcolumnview.c
gtk/gtkcolumnviewcolumn.c
gtk/gtkcombobox.c
gtk/gtkconstraint.c
gtk/gtkconstraintguide.c
gtk/gtkcssnode.c
gtk/gtkcssshorthandproperty.c
gtk/gtkcssstyleproperty.c
gtk/gtkdialog.c
gtk/gtkdirectorylist.c
gtk/gtkdragicon.c
gtk/gtkdragsource.c
gtk/gtkdrawingarea.c
gtk/gtkdropcontrollermotion.c
gtk/gtkdropdown.c
gtk/gtkdroptarget.c
gtk/gtkdroptargetasync.c
gtk/gtkeditable.c
gtk/gtkeditablelabel.c
gtk/gtkentry.c
gtk/gtkentrybuffer.c
gtk/gtkentrycompletion.c
gtk/gtkeventcontroller.c
gtk/gtkeventcontrollerfocus.c
gtk/gtkeventcontrollermotion.c
gtk/gtkeventcontrollerscroll.c
gtk/gtkexpander.c
gtk/gtkfilechooser.c
gtk/gtkfilechoosernative.c
gtk/gtkfilechooserwidget.c
gtk/gtkfilefilter.c
gtk/gtkfilterlistmodel.c
gtk/gtkfixedlayout.c
gtk/gtkflattenlistmodel.c
gtk/gtkflowbox.c
gtk/gtkfontbutton.c
gtk/gtkfontchooser.c
gtk/gtkfontchooserwidget.c
gtk/gtkframe.c
gtk/gtkgesture.c
gtk/gtkgesturelongpress.c
gtk/gtkgesturepan.c
gtk/gtkgesturesingle.c
gtk/gtkglarea.c
gtk/gtkgrid.c
gtk/gtkgridlayout.c
gtk/gtkgridview.c
gtk/gtkheaderbar.c
gtk/gtkicontheme.c
gtk/gtkiconview.c
gtk/gtkimage.c
gtk/gtkimcontext.c
gtk/gtkinfobar.c
gtk/gtkintl.h
gtk/gtklabel.c
gtk/gtklayoutchild.c
gtk/gtklevelbar.c
gtk/gtklinkbutton.c
gtk/gtklistbase.c
gtk/gtklistbox.c
gtk/gtklistitem.c
gtk/gtklistitemwidget.c
gtk/gtklistview.c
gtk/gtklockbutton.c
gtk/gtkmagnifier.c
gtk/gtkmaplistmodel.c
gtk/gtkmediacontrols.c
gtk/gtkmediafile.c
gtk/gtkmediastream.c
gtk/gtkmenubutton.c
gtk/gtkmenutrackeritem.c
gtk/gtkmessagedialog.c
gtk/gtkmodelbutton.c
gtk/gtkmountoperation.c
gtk/gtkmultiselection.c
gtk/gtknativedialog.c
gtk/gtknoselection.c
gtk/gtknotebook.c
gtk/gtknumericsorter.c
gtk/gtkorientable.c
gtk/gtkoverlay.c
gtk/gtkoverlaylayout.c
gtk/gtkpadcontroller.c
gtk/gtkpaned.c
gtk/gtkpasswordentry.c
gtk/gtkpicture.c
gtk/gtkplacessidebar.c
gtk/gtkplacesview.c
gtk/gtkplacesviewrow.c
gtk/gtkpopover.c
gtk/gtkpopovermenu.c
gtk/gtkpopovermenubar.c
gtk/gtkprintbackend.c
gtk/gtkprinter.c
gtk/gtkprinteroption.c
gtk/gtkprinteroptionwidget.c
gtk/gtkprintjob.c
gtk/gtkprintoperation.c
gtk/gtkprintunixdialog.c
gtk/gtkprogressbar.c
gtk/gtkpropertylookuplistmodel.c
gtk/gtkrange.c
gtk/gtkrecentmanager.c
gtk/gtkrevealer.c
gtk/gtkscale.c
gtk/gtkscalebutton.c
gtk/gtkscrollable.c
gtk/gtkscrollbar.c
gtk/gtkscrolledwindow.c
gtk/gtksearchbar.c
gtk/gtksearchentry.c
gtk/gtkselectionfiltermodel.c
gtk/gtksettings.c
gtk/gtkshortcut.c
gtk/gtkshortcutaction.c
gtk/gtkshortcutcontroller.c
gtk/gtkshortcutlabel.c
gtk/gtkshortcutsgroup.c
gtk/gtkshortcutssection.c
gtk/gtkshortcutsshortcut.c
gtk/gtkshortcutswindow.c
gtk/gtkshortcuttrigger.c
gtk/gtksidebarrow.c
gtk/gtksingleselection.c
gtk/gtksizegroup.c
gtk/gtkslicelistmodel.c
gtk/gtksortlistmodel.c
gtk/gtkspinbutton.c
gtk/gtkspinner.c
gtk/gtkstack.c
gtk/gtkstacksidebar.c
gtk/gtkstackswitcher.c
gtk/gtkstringfilter.c
gtk/gtkstringlist.c
gtk/gtkstringsorter.c
gtk/gtkstylecontext.c
gtk/gtkstyleproperty.c
gtk/gtkswitch.c
gtk/gtktext.c
gtk/gtktextbuffer.c
gtk/gtktextmark.c
gtk/gtktexttag.c
gtk/gtktextview.c
gtk/gtktextviewchild.c
gtk/gtktogglebutton.c
gtk/gtktreeexpander.c
gtk/gtktreelistmodel.c
gtk/gtktreelistrowsorter.c
gtk/gtktreemodelfilter.c
gtk/gtktreemodelsort.c
gtk/gtktreepopover.c
gtk/gtktreeselection.c
gtk/gtktreeview.c
gtk/gtktreeviewcolumn.c
gtk/gtkvideo.c
gtk/gtkviewport.c
gtk/gtkvolumebutton.c
gtk/gtkwidget.c
gtk/gtkwidgetpaintable.c
gtk/gtkwindow.c
gtk/gtkwindowcontrols.c
gtk/gtkwindowhandle.c
gtk/inspector/a11y.c
gtk/inspector/action-editor.c
gtk/inspector/cellrenderergraph.c
gtk/inspector/css-node-tree.c
gtk/inspector/graphdata.c
gtk/inspector/gtkdataviewer.c
gtk/inspector/prop-editor.c
gtk/inspector/prop-holder.c
gtk/inspector/prop-list.c
gtk/inspector/recorder.c
gtk/inspector/recorderrow.c
gtk/inspector/recording.c
gtk/inspector/size-groups.c
gtk/inspector/type-info.c
gtk/inspector/window.c
modules/media/gtkgstsink.c
modules/printbackends/gtkprintercups.c

index 6ce9536b0ff48e49118c88f3fa39b16651301325..17e5acc4f7f62edac1ff8be8a2471f6fa06e3f0f 100644 (file)
@@ -125,7 +125,7 @@ gdk_app_launch_context_class_init (GdkAppLaunchContextClass *klass)
    * The display that the `GdkAppLaunchContext` is on.
    */
   g_object_class_install_property (gobject_class, PROP_DISPLAY,
-    g_param_spec_object ("display", P_("Display"), P_("Display"),
+    g_param_spec_object ("display", NULL, NULL,
                          GDK_TYPE_DISPLAY,
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
 }
index 3daf2dcb04bb62b1a9109843a00de297e19fb5c9..95e0fda40ef7bd24aa718bb337bb7008f8a18466 100644 (file)
@@ -357,9 +357,7 @@ gdk_clipboard_class_init (GdkClipboardClass *class)
    * The `GdkDisplay` that the clipboard belongs to.
    */
   properties[PROP_DISPLAY] =
-    g_param_spec_object ("display",
-                         "Display",
-                         "Display owning this clipboard",
+    g_param_spec_object ("display", NULL, NULL,
                          GDK_TYPE_DISPLAY,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
@@ -372,9 +370,7 @@ gdk_clipboard_class_init (GdkClipboardClass *class)
    * The possible formats that the clipboard can provide its data in.
    */
   properties[PROP_FORMATS] =
-    g_param_spec_boxed ("formats",
-                        "Formats",
-                        "The possible formats for data",
+    g_param_spec_boxed ("formats", NULL, NULL,
                         GDK_TYPE_CONTENT_FORMATS,
                         G_PARAM_READABLE |
                         G_PARAM_STATIC_STRINGS |
@@ -386,9 +382,7 @@ gdk_clipboard_class_init (GdkClipboardClass *class)
    * %TRUE if the contents of the clipboard are owned by this process.
    */
   properties[PROP_LOCAL] =
-    g_param_spec_boolean ("local",
-                          "Local",
-                          "If the contents are owned by this process",
+    g_param_spec_boolean ("local", NULL, NULL,
                           TRUE,
                           G_PARAM_READABLE |
                           G_PARAM_STATIC_STRINGS |
@@ -401,9 +395,7 @@ gdk_clipboard_class_init (GdkClipboardClass *class)
    * provided otherwise.
    */
   properties[PROP_CONTENT] =
-    g_param_spec_object ("content",
-                         "Content",
-                         "Provider of the clipboard's content",
+    g_param_spec_object ("content", NULL, NULL,
                          GDK_TYPE_CONTENT_PROVIDER,
                          G_PARAM_READABLE |
                          G_PARAM_STATIC_STRINGS |
index 0e9a497bd482abca6a5d4a1a2a48793620d100e5..043e165d591ae4ccf043d1d9940cd6a98f17a939 100644 (file)
@@ -173,9 +173,7 @@ gdk_content_provider_class_init (GdkContentProviderClass *class)
    * The possible formats that the provider can provide its data in.
    */
   properties[PROP_FORMATS] =
-    g_param_spec_boxed ("formats",
-                        "Formats",
-                        "The possible formats for data",
+    g_param_spec_boxed ("formats", NULL, NULL,
                         GDK_TYPE_CONTENT_FORMATS,
                         G_PARAM_READABLE |
                         G_PARAM_STATIC_STRINGS |
@@ -187,9 +185,7 @@ gdk_content_provider_class_init (GdkContentProviderClass *class)
    * The subset of formats that clipboard managers should store this provider's data in.
    */
   properties[PROP_STORABLE_FORMATS] =
-    g_param_spec_boxed ("storable-formats",
-                        "Storable formats",
-                        "The formats that data should be stored in",
+    g_param_spec_boxed ("storable-formats", NULL, NULL,
                         GDK_TYPE_CONTENT_FORMATS,
                         G_PARAM_READABLE |
                         G_PARAM_STATIC_STRINGS |
index ccb7e39b778c3227b083f276e9b16e5070acd6ba..43f6dad5db05fbfe1fa33417d6edeb85e696b4b0 100644 (file)
@@ -174,9 +174,7 @@ gdk_cursor_class_init (GdkCursorClass *cursor_class)
    */
   g_object_class_install_property (object_class,
                                    PROP_FALLBACK,
-                                   g_param_spec_object ("fallback",
-                                                        P_("Fallback"),
-                                                        P_("Cursor image to fall back to if this cursor cannot be displayed"),
+                                   g_param_spec_object ("fallback", NULL, NULL,
                                                         GDK_TYPE_CURSOR,
                                                         G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                                                         G_PARAM_STATIC_STRINGS));
@@ -188,9 +186,7 @@ gdk_cursor_class_init (GdkCursorClass *cursor_class)
    */
   g_object_class_install_property (object_class,
                                    PROP_HOTSPOT_X,
-                                   g_param_spec_int ("hotspot-x",
-                                                     P_("Hotspot X"),
-                                                     P_("Horizontal offset of the cursor hotspot"),
+                                   g_param_spec_int ("hotspot-x", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                                                      G_PARAM_STATIC_STRINGS));
@@ -202,9 +198,7 @@ gdk_cursor_class_init (GdkCursorClass *cursor_class)
    */
   g_object_class_install_property (object_class,
                                    PROP_HOTSPOT_Y,
-                                   g_param_spec_int ("hotspot-y",
-                                                     P_("Hotspot Y"),
-                                                     P_("Vertical offset of the cursor hotspot"),
+                                   g_param_spec_int ("hotspot-y", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                                                      G_PARAM_STATIC_STRINGS));
@@ -218,9 +212,7 @@ gdk_cursor_class_init (GdkCursorClass *cursor_class)
    */
   g_object_class_install_property (object_class,
                                    PROP_NAME,
-                                   g_param_spec_string ("name",
-                                                        P_("Name"),
-                                                        P_("Name of this cursor"),
+                                   g_param_spec_string ("name", NULL, NULL,
                                                         NULL,
                                                         G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                                                         G_PARAM_STATIC_STRINGS));
@@ -234,9 +226,7 @@ gdk_cursor_class_init (GdkCursorClass *cursor_class)
    */
   g_object_class_install_property (object_class,
                                    PROP_TEXTURE,
-                                   g_param_spec_object ("texture",
-                                                        P_("Texture"),
-                                                        P_("The texture displayed by this cursor"),
+                                   g_param_spec_object ("texture", NULL, NULL,
                                                         GDK_TYPE_TEXTURE,
                                                         G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                                                         G_PARAM_STATIC_STRINGS));
index 2c622b993a54d0ab86882e740d488bd71f4481a3..c4473852c4db510c61a5c9cf9f50668c0f12428c 100644 (file)
@@ -109,9 +109,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * The `GdkDisplay` the `GdkDevice` pertains to.
    */
   device_props[PROP_DISPLAY] =
-      g_param_spec_object ("display",
-                           P_("Device Display"),
-                           P_("Display which the device belongs to"),
+      g_param_spec_object ("display", NULL, NULL,
                            GDK_TYPE_DISPLAY,
                            G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
@@ -121,9 +119,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * The device name.
    */
   device_props[PROP_NAME] =
-      g_param_spec_string ("name",
-                           P_("Device name"),
-                           P_("Device name"),
+      g_param_spec_string ("name", NULL, NULL,
                            NULL,
                            G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                            G_PARAM_STATIC_STRINGS);
@@ -134,9 +130,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * Source type for the device.
    */
   device_props[PROP_SOURCE] =
-      g_param_spec_enum ("source",
-                         P_("Input source"),
-                         P_("Source type for the device"),
+      g_param_spec_enum ("source", NULL, NULL,
                          GDK_TYPE_INPUT_SOURCE,
                          GDK_SOURCE_MOUSE,
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
@@ -148,9 +142,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * Whether the device is represented by a cursor on the screen.
    */
   device_props[PROP_HAS_CURSOR] =
-      g_param_spec_boolean ("has-cursor",
-                            P_("Whether the device has a cursor"),
-                            P_("Whether there is a visible cursor following device motion"),
+      g_param_spec_boolean ("has-cursor", NULL, NULL,
                             FALSE,
                             G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                             G_PARAM_STATIC_STRINGS);
@@ -161,9 +153,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * Number of axes in the device.
    */
   device_props[PROP_N_AXES] =
-      g_param_spec_uint ("n-axes",
-                         P_("Number of axes in the device"),
-                         P_("Number of axes in the device"),
+      g_param_spec_uint ("n-axes", NULL, NULL,
                          0, G_MAXUINT,
                          0,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
@@ -176,9 +166,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * See [method@Gdk.Device.get_vendor_id].
    */
   device_props[PROP_VENDOR_ID] =
-      g_param_spec_string ("vendor-id",
-                           P_("Vendor ID"),
-                           P_("Vendor ID"),
+      g_param_spec_string ("vendor-id", NULL, NULL,
                            NULL,
                            G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                            G_PARAM_STATIC_STRINGS);
@@ -191,9 +179,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * See [method@Gdk.Device.get_product_id].
    */
   device_props[PROP_PRODUCT_ID] =
-      g_param_spec_string ("product-id",
-                           P_("Product ID"),
-                           P_("Product ID"),
+      g_param_spec_string ("product-id", NULL, NULL,
                            NULL,
                            G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                            G_PARAM_STATIC_STRINGS);
@@ -204,9 +190,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * `GdkSeat` of this device.
    */
   device_props[PROP_SEAT] =
-      g_param_spec_object ("seat",
-                           P_("Seat"),
-                           P_("Seat"),
+      g_param_spec_object ("seat", NULL, NULL,
                            GDK_TYPE_SEAT,
                            G_PARAM_READWRITE |
                            G_PARAM_STATIC_STRINGS);
@@ -220,9 +204,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * of touches is unknown.
    */
   device_props[PROP_NUM_TOUCHES] =
-      g_param_spec_uint ("num-touches",
-                         P_("Number of concurrent touches"),
-                         P_("Number of concurrent touches"),
+      g_param_spec_uint ("num-touches", NULL, NULL,
                          0, G_MAXUINT,
                          0,
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
@@ -234,9 +216,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * The `GdkDeviceTool` that is currently used with this device.
    */
   device_props[PROP_TOOL] =
-    g_param_spec_object ("tool",
-                         P_("Tool"),
-                         P_("The tool that is currently used with this device"),
+    g_param_spec_object ("tool", NULL, NULL,
                          GDK_TYPE_DEVICE_TOOL,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -248,9 +228,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * This is only relevant for keyboard devices.
    */
   device_props[PROP_DIRECTION] =
-      g_param_spec_enum ("direction",
-                         P_("Direction"),
-                         P_("The direction of the current layout of the keyboard"),
+      g_param_spec_enum ("direction", NULL, NULL,
                          PANGO_TYPE_DIRECTION, PANGO_DIRECTION_NEUTRAL,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -262,9 +240,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * This is only relevant for keyboard devices.
    */
   device_props[PROP_HAS_BIDI_LAYOUTS] =
-      g_param_spec_boolean ("has-bidi-layouts",
-                            P_("Has bidi layouts"),
-                            P_("Whether the keyboard has bidi layouts"),
+      g_param_spec_boolean ("has-bidi-layouts", NULL, NULL,
                             FALSE,
                             G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -276,9 +252,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * This is only relevant for keyboard devices.
    */
   device_props[PROP_CAPS_LOCK_STATE] =
-      g_param_spec_boolean ("caps-lock-state",
-                            P_("Caps lock state"),
-                            P_("Whether the keyboard caps lock is on"),
+      g_param_spec_boolean ("caps-lock-state", NULL, NULL,
                             FALSE,
                             G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -290,9 +264,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * This is only relevant for keyboard devices.
    */
   device_props[PROP_NUM_LOCK_STATE] =
-      g_param_spec_boolean ("num-lock-state",
-                            P_("Num lock state"),
-                            P_("Whether the keyboard num lock is on"),
+      g_param_spec_boolean ("num-lock-state", NULL, NULL,
                             FALSE,
                             G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -304,9 +276,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * This is only relevant for keyboard devices.
    */
   device_props[PROP_SCROLL_LOCK_STATE] =
-      g_param_spec_boolean ("scroll-lock-state",
-                            P_("Scroll lock state"),
-                            P_("Whether the keyboard scroll lock is on"),
+      g_param_spec_boolean ("scroll-lock-state", NULL, NULL,
                             FALSE,
                             G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -318,9 +288,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
    * This is only relevant for keyboard devices.
    */
   device_props[PROP_MODIFIER_STATE] =
-      g_param_spec_flags ("modifier-state",
-                          P_("Modifier state"),
-                          P_("The modifier state of the keyboard"),
+      g_param_spec_flags ("modifier-state", NULL, NULL,
                           GDK_TYPE_MODIFIER_TYPE, 0,
                           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
index 1a75e5cdfa5f2d6a6887b04366a1c62987c2071b..97993122a8f9759bdc8b8914ef9550f4f15f661c 100644 (file)
@@ -111,9 +111,7 @@ gdk_device_tool_class_init (GdkDeviceToolClass *klass)
    *
    * The serial number of the tool.
    */
-  tool_props[TOOL_PROP_SERIAL] = g_param_spec_uint64 ("serial",
-                                                      "Serial",
-                                                      "Serial number",
+  tool_props[TOOL_PROP_SERIAL] = g_param_spec_uint64 ("serial", NULL, NULL,
                                                       0, G_MAXUINT64, 0,
                                                       G_PARAM_READWRITE |
                                                       G_PARAM_CONSTRUCT_ONLY |
@@ -124,9 +122,7 @@ gdk_device_tool_class_init (GdkDeviceToolClass *klass)
    *
    * The type of the tool.
    */
-  tool_props[TOOL_PROP_TOOL_TYPE] = g_param_spec_enum ("tool-type",
-                                                       "Tool type",
-                                                       "Tool type",
+  tool_props[TOOL_PROP_TOOL_TYPE] = g_param_spec_enum ("tool-type", NULL, NULL,
                                                        GDK_TYPE_DEVICE_TOOL_TYPE,
                                                        GDK_DEVICE_TOOL_TYPE_UNKNOWN,
                                                        G_PARAM_READWRITE |
@@ -138,9 +134,7 @@ gdk_device_tool_class_init (GdkDeviceToolClass *klass)
    *
    * The axes of the tool.
    */
-  tool_props[TOOL_PROP_AXES] = g_param_spec_flags ("axes",
-                                                   "Axes",
-                                                   "Tool axes",
+  tool_props[TOOL_PROP_AXES] = g_param_spec_flags ("axes", NULL, NULL,
                                                    GDK_TYPE_AXIS_FLAGS, 0,
                                                    G_PARAM_READWRITE |
                                                    G_PARAM_CONSTRUCT_ONLY);
@@ -150,9 +144,7 @@ gdk_device_tool_class_init (GdkDeviceToolClass *klass)
    *
    * The hardware ID of the tool.
    */
-  tool_props[TOOL_PROP_HARDWARE_ID] = g_param_spec_uint64 ("hardware-id",
-                                                           "Hardware ID",
-                                                           "Hardware ID",
+  tool_props[TOOL_PROP_HARDWARE_ID] = g_param_spec_uint64 ("hardware-id", NULL, NULL,
                                                            0, G_MAXUINT64, 0,
                                                            G_PARAM_READWRITE |
                                                            G_PARAM_CONSTRUCT_ONLY |
index 31f039d7490fbc57cf051596fcca3c510e664c62..38205f2a9ba5d76c7c68f8ec7a2253c014e2b21c 100644 (file)
@@ -213,9 +213,7 @@ gdk_display_class_init (GdkDisplayClass *class)
    * %TRUE if the display properly composites the alpha channel.
    */
   props[PROP_COMPOSITED] =
-    g_param_spec_boolean ("composited",
-                          P_("Composited"),
-                          P_("Composited"),
+    g_param_spec_boolean ("composited", NULL, NULL,
                           TRUE,
                           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -225,9 +223,7 @@ gdk_display_class_init (GdkDisplayClass *class)
    * %TRUE if the display supports an alpha channel.
    */
   props[PROP_RGBA] =
-    g_param_spec_boolean ("rgba",
-                          P_("RGBA"),
-                          P_("RGBA"),
+    g_param_spec_boolean ("rgba", NULL, NULL,
                           TRUE,
                           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -237,9 +233,7 @@ gdk_display_class_init (GdkDisplayClass *class)
    * %TRUE if the display supports input shapes.
    */
   props[PROP_INPUT_SHAPES] =
-    g_param_spec_boolean ("input-shapes",
-                          P_("Input shapes"),
-                          P_("Input shapes"),
+    g_param_spec_boolean ("input-shapes", NULL, NULL,
                           TRUE,
                           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
index cbd03b77686a7c4f435f9e6741b0f8cf225925ee..040e6b31249ea7444df7dafe862630da0f52cb72 100644 (file)
@@ -155,9 +155,7 @@ gdk_display_manager_class_init (GdkDisplayManagerClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_DEFAULT_DISPLAY,
-                                   g_param_spec_object ("default-display",
-                                                        P_("Default Display"),
-                                                        P_("The default display for GDK"),
+                                   g_param_spec_object ("default-display", NULL, NULL,
                                                         GDK_TYPE_DISPLAY,
                                                         G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS));
 }
index 1f8abf8749375ec4f396270ea005c2a21e2da64b..62bd7455f50ae93e0dd852b6b66f986cddd9b3fc 100644 (file)
@@ -379,9 +379,7 @@ gdk_drag_class_init (GdkDragClass *klass)
    * The `GdkContentProvider`.
    */
   properties[PROP_CONTENT] =
-    g_param_spec_object ("content",
-                         "Content",
-                         "The content being dragged",
+    g_param_spec_object ("content", NULL, NULL,
                          GDK_TYPE_CONTENT_PROVIDER,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
@@ -394,9 +392,7 @@ gdk_drag_class_init (GdkDragClass *klass)
    * The `GdkDevice` that is performing the drag.
    */
   properties[PROP_DEVICE] =
-    g_param_spec_object ("device",
-                         "Device",
-                         "The device performing the drag",
+    g_param_spec_object ("device", NULL, NULL,
                          GDK_TYPE_DEVICE,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
@@ -409,9 +405,7 @@ gdk_drag_class_init (GdkDragClass *klass)
    * The `GdkDisplay` that the drag belongs to.
    */
   properties[PROP_DISPLAY] =
-    g_param_spec_object ("display",
-                         "Display",
-                         "Display this drag belongs to",
+    g_param_spec_object ("display", NULL, NULL,
                          GDK_TYPE_DISPLAY,
                          G_PARAM_READABLE |
                          G_PARAM_STATIC_STRINGS |
@@ -423,9 +417,7 @@ gdk_drag_class_init (GdkDragClass *klass)
    * The possible formats that the drag can provide its data in.
    */
   properties[PROP_FORMATS] =
-    g_param_spec_boxed ("formats",
-                        "Formats",
-                        "The possible formats for data",
+    g_param_spec_boxed ("formats", NULL, NULL,
                         GDK_TYPE_CONTENT_FORMATS,
                         G_PARAM_READWRITE |
                         G_PARAM_CONSTRUCT_ONLY |
@@ -438,9 +430,7 @@ gdk_drag_class_init (GdkDragClass *klass)
    * The currently selected action of the drag.
    */
   properties[PROP_SELECTED_ACTION] =
-    g_param_spec_flags ("selected-action",
-                        "Selected action",
-                        "The currently selected action",
+    g_param_spec_flags ("selected-action", NULL, NULL,
                         GDK_TYPE_DRAG_ACTION,
                         0,
                         G_PARAM_READWRITE |
@@ -453,9 +443,7 @@ gdk_drag_class_init (GdkDragClass *klass)
    * The possible actions of this drag.
    */
   properties[PROP_ACTIONS] =
-    g_param_spec_flags ("actions",
-                        "Actions",
-                        "The possible actions",
+    g_param_spec_flags ("actions", NULL, NULL,
                         GDK_TYPE_DRAG_ACTION,
                         0,
                         G_PARAM_READWRITE |
@@ -468,9 +456,7 @@ gdk_drag_class_init (GdkDragClass *klass)
    * The surface where the drag originates.
    */
   properties[PROP_SURFACE] =
-    g_param_spec_object ("surface",
-                         "Surface",
-                         "The surface where the drag originates",
+    g_param_spec_object ("surface", NULL, NULL,
                          GDK_TYPE_SURFACE,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
index 8ab405e25b18c3a1343aa15c51870867ffa3374d..5e64ec32f98e89f38203e26a0a415c2cab7fc5ee 100644 (file)
@@ -168,9 +168,7 @@ gdk_draw_context_class_init (GdkDrawContextClass *klass)
    * The `GdkDisplay` used to create the `GdkDrawContext`.
    */
   pspecs[PROP_DISPLAY] =
-    g_param_spec_object ("display",
-                         P_("Display"),
-                         P_("The GDK display used to create the context"),
+    g_param_spec_object ("display", NULL, NULL,
                          GDK_TYPE_DISPLAY,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
@@ -182,9 +180,7 @@ gdk_draw_context_class_init (GdkDrawContextClass *klass)
    * The `GdkSurface` the context is bound to.
    */
   pspecs[PROP_SURFACE] =
-    g_param_spec_object ("surface",
-                         P_("Surface"),
-                         P_("The GDK surface bound to the context"),
+    g_param_spec_object ("surface", NULL, NULL,
                          GDK_TYPE_SURFACE,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
index ff3efbaa4e4b29fe67c53aeb25d178efb4f99bbc..f1c7c0f5985cac5f0b03abc1f6410743a7049086 100644 (file)
@@ -325,9 +325,7 @@ gdk_drop_class_init (GdkDropClass *klass)
    * The possible actions for this drop
    */
   properties[PROP_ACTIONS] =
-    g_param_spec_flags ("actions",
-                        "Actions",
-                        "The possible actions for this drop",
+    g_param_spec_flags ("actions", NULL, NULL,
                          GDK_TYPE_DRAG_ACTION,
                          GDK_ACTION_ALL,
                          G_PARAM_READWRITE |
@@ -341,9 +339,7 @@ gdk_drop_class_init (GdkDropClass *klass)
    * The `GdkDevice` performing the drop
    */
   properties[PROP_DEVICE] =
-    g_param_spec_object ("device",
-                         "Device",
-                         "The device performing the drop",
+    g_param_spec_object ("device", NULL, NULL,
                          GDK_TYPE_DEVICE,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
@@ -356,9 +352,7 @@ gdk_drop_class_init (GdkDropClass *klass)
    * The `GdkDisplay` that the drop belongs to.
    */
   properties[PROP_DISPLAY] =
-    g_param_spec_object ("display",
-                         "Display",
-                         "Display this drag belongs to",
+    g_param_spec_object ("display", NULL, NULL,
                          GDK_TYPE_DISPLAY,
                          G_PARAM_READABLE |
                          G_PARAM_STATIC_STRINGS |
@@ -370,9 +364,7 @@ gdk_drop_class_init (GdkDropClass *klass)
    * The `GdkDrag` that initiated this drop
    */
   properties[PROP_DRAG] =
-    g_param_spec_object ("drag",
-                         "Drag",
-                         "The drag that initiated this drop",
+    g_param_spec_object ("drag", NULL, NULL,
                          GDK_TYPE_DRAG,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
@@ -385,9 +377,7 @@ gdk_drop_class_init (GdkDropClass *klass)
    * The possible formats that the drop can provide its data in.
    */
   properties[PROP_FORMATS] =
-    g_param_spec_boxed ("formats",
-                        "Formats",
-                        "The possible formats for data",
+    g_param_spec_boxed ("formats", NULL, NULL,
                         GDK_TYPE_CONTENT_FORMATS,
                         G_PARAM_READWRITE |
                         G_PARAM_CONSTRUCT_ONLY |
@@ -400,9 +390,7 @@ gdk_drop_class_init (GdkDropClass *klass)
    * The `GdkSurface` the drop happens on
    */
   properties[PROP_SURFACE] =
-    g_param_spec_object ("surface",
-                         "Surface",
-                         "The surface the drop is happening on",
+    g_param_spec_object ("surface", NULL, NULL,
                          GDK_TYPE_SURFACE,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
index 1591cbd3ad6386be709f6e015348afe34b09bfb8..e58c0e57dca8a6e62d9f3c85199a59c86386c9b2 100644 (file)
@@ -690,9 +690,7 @@ gdk_gl_context_class_init (GdkGLContextClass *klass)
    *   can be shared.
    */
   properties[PROP_SHARED_CONTEXT] =
-    g_param_spec_object ("shared-context",
-                         P_("Shared context"),
-                         P_("The GL context this context shares data with"),
+    g_param_spec_object ("shared-context", NULL, NULL,
                          GDK_TYPE_GL_CONTEXT,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
@@ -707,9 +705,7 @@ gdk_gl_context_class_init (GdkGLContextClass *klass)
    * Since: 4.6
    */
   properties[PROP_ALLOWED_APIS] =
-    g_param_spec_flags ("allowed-apis",
-                        P_("Allowed APIs"),
-                        P_("The list of allowed APIs for this context"),
+    g_param_spec_flags ("allowed-apis", NULL, NULL,
                         GDK_TYPE_GL_API,
                         DEFAULT_ALLOWED_APIS,
                         G_PARAM_READWRITE |
@@ -724,9 +720,7 @@ gdk_gl_context_class_init (GdkGLContextClass *klass)
    * Since: 4.6
    */
   properties[PROP_API] =
-    g_param_spec_flags ("api",
-                        P_("API"),
-                        P_("The API currently in use"),
+    g_param_spec_flags ("api", NULL, NULL,
                         GDK_TYPE_GL_API,
                         0,
                         G_PARAM_READABLE |
index 0202c9544350717e5df5777f2fcae5ec6f41287c..69a9fd9d240774e4bf25218c3d3eccd9b86303ce 100644 (file)
@@ -27,6 +27,4 @@
 
 #include <glib/gi18n-lib.h>
 
-#define P_(String) dgettext (GETTEXT_PACKAGE "-properties", String)
-
 #endif
index b8e925a46e2196153b178a2e1fc05c1447443330..b06fec2dc64afdb31d86b01b729e7db4345dd2c3 100644 (file)
@@ -123,9 +123,7 @@ gdk_keymap_class_init (GdkKeymapClass *klass)
   klass->keys_changed = gdk_keymap_keys_changed;
 
   props[PROP_DISPLAY] =
-    g_param_spec_object ("display",
-                         "Display",
-                         "The display of the keymap",
+    g_param_spec_object ("display", NULL, NULL,
                          GDK_TYPE_DISPLAY,
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
index 47ebb3c51993cf1cea16a4b7ae1fa197766c34fb..ccf1d4b8bcd013fc0a26aa93386ca65a1a304800 100644 (file)
@@ -176,9 +176,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
    * The `GdkDisplay` of the monitor.
    */
   props[PROP_DISPLAY] =
-    g_param_spec_object ("display",
-                         "Display",
-                         "The display of the monitor",
+    g_param_spec_object ("display", NULL, NULL,
                          GDK_TYPE_DISPLAY,
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
@@ -188,9 +186,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
    * The manufacturer name.
    */
   props[PROP_MANUFACTURER] =
-    g_param_spec_string ("manufacturer",
-                         "Manufacturer",
-                         "The manufacturer name",
+    g_param_spec_string ("manufacturer", NULL, NULL,
                          NULL,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -200,9 +196,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
    * The model name.
    */
   props[PROP_MODEL] =
-    g_param_spec_string ("model",
-                         "Model",
-                         "The model name",
+    g_param_spec_string ("model", NULL, NULL,
                          NULL,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -212,9 +206,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
    * The connector name.
    */
   props[PROP_CONNECTOR] =
-    g_param_spec_string ("connector",
-                         "Connector",
-                         "The connector name",
+    g_param_spec_string ("connector", NULL, NULL,
                          NULL,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -224,9 +216,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
    * The scale factor.
    */
   props[PROP_SCALE_FACTOR] =
-    g_param_spec_int ("scale-factor",
-                      "Scale factor",
-                      "The scale factor",
+    g_param_spec_int ("scale-factor", NULL, NULL,
                       0, G_MAXINT,
                       1,
                       G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
@@ -237,9 +227,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
    * The geometry of the monitor.
    */
   props[PROP_GEOMETRY] =
-    g_param_spec_boxed ("geometry",
-                        "Geometry",
-                        "The geometry of the monitor",
+    g_param_spec_boxed ("geometry", NULL, NULL,
                         GDK_TYPE_RECTANGLE,
                         G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -249,9 +237,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
    * The width of the monitor, in millimeters.
    */
   props[PROP_WIDTH_MM] =
-    g_param_spec_int ("width-mm",
-                      "Physical width",
-                      "The width of the monitor, in millimeters",
+    g_param_spec_int ("width-mm", NULL, NULL,
                       0, G_MAXINT,
                       0,
                       G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
@@ -262,9 +248,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
    * The height of the monitor, in millimeters.
    */
   props[PROP_HEIGHT_MM] =
-    g_param_spec_int ("height-mm",
-                      "Physical height",
-                      "The height of the monitor, in millimeters",
+    g_param_spec_int ("height-mm", NULL, NULL,
                       0, G_MAXINT,
                       0,
                       G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
@@ -275,9 +259,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
    * The refresh rate, in milli-Hertz.
    */
   props[PROP_REFRESH_RATE] =
-    g_param_spec_int ("refresh-rate",
-                      "Refresh rate",
-                      "The refresh rate, in millihertz",
+    g_param_spec_int ("refresh-rate", NULL, NULL,
                       0, G_MAXINT,
                       0,
                       G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
@@ -288,9 +270,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
    * The subpixel layout.
    */
   props[PROP_SUBPIXEL_LAYOUT] =
-    g_param_spec_enum ("subpixel-layout",
-                       "Subpixel layout",
-                       "The subpixel layout",
+    g_param_spec_enum ("subpixel-layout", NULL, NULL,
                        GDK_TYPE_SUBPIXEL_LAYOUT,
                        GDK_SUBPIXEL_LAYOUT_UNKNOWN,
                        G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
@@ -301,9 +281,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
    * Whether the object is still valid.
    */
   props[PROP_VALID] =
-    g_param_spec_boolean ("valid",
-                          "Valid",
-                          "Whether the monitor is still valid",
+    g_param_spec_boolean ("valid", NULL, NULL,
                           TRUE,
                           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
index 4dd97ac7ad978e7c784ced1cb7378912c35a43c8..9c69325175f69490aa2d9c791451ba2e17501a1a 100644 (file)
@@ -85,9 +85,7 @@ gdk_popup_default_init (GdkPopupInterface *iface)
    * The parent surface.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_object ("parent",
-                           P_("Parent"),
-                           P_("The parent surface"),
+      g_param_spec_object ("parent", NULL, NULL,
                            GDK_TYPE_SURFACE,
                            G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
 
@@ -97,9 +95,7 @@ gdk_popup_default_init (GdkPopupInterface *iface)
    * Whether to hide on outside clicks.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_boolean ("autohide",
-                           P_("Autohide"),
-                           P_("Whether to hide on outside clicks"),
+      g_param_spec_boolean ("autohide", NULL, NULL,
                            FALSE,
                            G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
 }
index cb09602eaa8dab6bd814530a7aa84f3b990e311f..fd9385f5357b83fd806dc43cc6e4313a923c3e94 100644 (file)
@@ -184,9 +184,7 @@ gdk_seat_class_init (GdkSeatClass *klass)
    * `GdkDisplay` of this seat.
    */
   props[PROP_DISPLAY] =
-    g_param_spec_object ("display",
-                         P_("Display"),
-                         P_("Display"),
+    g_param_spec_object ("display", NULL, NULL,
                          GDK_TYPE_DISPLAY,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
index 16d668a931091fb6b521935fe183f5185003380e..067267fb1ad7eab93bb8d6afe1a40d2cd32575ec 100644 (file)
@@ -506,9 +506,7 @@ gdk_surface_class_init (GdkSurfaceClass *klass)
    * The mouse pointer for the `GdkSurface`.
    */
   properties[PROP_CURSOR] =
-      g_param_spec_object ("cursor",
-                           P_("Cursor"),
-                           P_("Cursor"),
+      g_param_spec_object ("cursor", NULL, NULL,
                            GDK_TYPE_CURSOR,
                            G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
 
@@ -518,9 +516,7 @@ gdk_surface_class_init (GdkSurfaceClass *klass)
    * The `GdkDisplay` connection of the surface.
    */
   properties[PROP_DISPLAY] =
-      g_param_spec_object ("display",
-                           P_("Display"),
-                           P_("Display"),
+      g_param_spec_object ("display", NULL, NULL,
                            GDK_TYPE_DISPLAY,
                            G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
@@ -530,9 +526,7 @@ gdk_surface_class_init (GdkSurfaceClass *klass)
    * The `GdkFrameClock` of the surface.
    */
   properties[PROP_FRAME_CLOCK] =
-      g_param_spec_object ("frame-clock",
-                           P_("Frame Clock"),
-                           P_("Frame Clock"),
+      g_param_spec_object ("frame-clock", NULL, NULL,
                            GDK_TYPE_FRAME_CLOCK,
                            G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
@@ -542,9 +536,7 @@ gdk_surface_class_init (GdkSurfaceClass *klass)
    * Whether the surface is mapped.
    */
   properties[PROP_MAPPED] =
-      g_param_spec_boolean ("mapped",
-                            P_("Mapped"),
-                            P_("Mapped"),
+      g_param_spec_boolean ("mapped", NULL, NULL,
                             FALSE,
                             G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -554,9 +546,7 @@ gdk_surface_class_init (GdkSurfaceClass *klass)
    * The width of the surface in pixels.
    */
   properties[PROP_WIDTH] =
-      g_param_spec_int ("width",
-                        P_("Width"),
-                        P_("Width"),
+      g_param_spec_int ("width", NULL, NULL,
                         0, G_MAXINT, 0,
                         G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -566,9 +556,7 @@ gdk_surface_class_init (GdkSurfaceClass *klass)
    * The height of the surface, in pixels.
    */
   properties[PROP_HEIGHT] =
-      g_param_spec_int ("height",
-                        P_("Height"),
-                        P_("Height"),
+      g_param_spec_int ("height", NULL, NULL,
                         0, G_MAXINT, 0,
                         G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -578,9 +566,7 @@ gdk_surface_class_init (GdkSurfaceClass *klass)
    * The scale factor of the surface.
    */
   properties[PROP_SCALE_FACTOR] =
-      g_param_spec_int ("scale-factor",
-                        P_("Scale factor"),
-                        P_("Scale factor"),
+      g_param_spec_int ("scale-factor", NULL, NULL,
                         1, G_MAXINT, 1,
                         G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
index c8d7730c6d1b8408082dafed7efa671303e63ac8..ef7123c94a25acbe9af09587ae5f88fe1073e4ae 100644 (file)
@@ -304,9 +304,7 @@ gdk_texture_class_init (GdkTextureClass *klass)
    * The width of the texture, in pixels.
    */
   properties[PROP_WIDTH] =
-    g_param_spec_int ("width",
-                      "Width",
-                      "The width of the texture",
+    g_param_spec_int ("width", NULL, NULL,
                       1,
                       G_MAXINT,
                       1,
@@ -321,9 +319,7 @@ gdk_texture_class_init (GdkTextureClass *klass)
    * The height of the texture, in pixels.
    */
   properties[PROP_HEIGHT] =
-    g_param_spec_int ("height",
-                      "Height",
-                      "The height of the texture",
+    g_param_spec_int ("height", NULL, NULL,
                       1,
                       G_MAXINT,
                       1,
index 7536b9d8a80bcae8741a8d4f25964976f27e9a4b..8c92cd9c973c65fc2197689288afc831ab5ab557 100644 (file)
@@ -131,9 +131,7 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface)
    * The state of the toplevel.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_flags ("state",
-                          P_("State"),
-                          P_("State"),
+      g_param_spec_flags ("state", NULL, NULL,
                           GDK_TYPE_TOPLEVEL_STATE, 0,
                           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
 
@@ -143,9 +141,7 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface)
    * The title of the surface.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_string ("title",
-                           "Title",
-                           "The title of the surface",
+      g_param_spec_string ("title", NULL, NULL,
                            NULL,
                            G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
 
@@ -158,9 +154,7 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface)
    * startup feedback.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_string ("startup-id",
-                           "Startup ID",
-                           "The startup ID of the surface",
+      g_param_spec_string ("startup-id", NULL, NULL,
                            NULL,
                            G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
 
@@ -170,9 +164,7 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface)
    * The transient parent of the surface.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_object ("transient-for",
-                           "Transient For",
-                           "The transient parent of the surface",
+      g_param_spec_object ("transient-for", NULL, NULL,
                            GDK_TYPE_SURFACE,
                            G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
 
@@ -182,9 +174,7 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface)
    * Whether the surface is modal.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_boolean ("modal",
-                            "Modal",
-                            "Whether the surface is modal",
+      g_param_spec_boolean ("modal", NULL, NULL,
                             FALSE,
                             G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
 
@@ -194,9 +184,7 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface)
    * A list of textures to use as icon.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_pointer ("icon-list",
-                            "Icon List",
-                            "The list of icon textures",
+      g_param_spec_pointer ("icon-list", NULL, NULL,
                             G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
 
   /**
@@ -205,9 +193,7 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface)
    * Whether the window manager should add decorations.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_boolean ("decorated",
-                            "Decorated",
-                            "Decorated",
+      g_param_spec_boolean ("decorated", NULL, NULL,
                             FALSE,
                             G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
 
@@ -217,9 +203,7 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface)
    * Whether the window manager should allow to close the surface.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_boolean ("deletable",
-                            "Deletable",
-                            "Deletable",
+      g_param_spec_boolean ("deletable", NULL, NULL,
                             FALSE,
                             G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
 
@@ -229,9 +213,7 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface)
    * The fullscreen mode of the surface.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_enum ("fullscreen-mode",
-                         "Fullscreen mode",
-                         "Fullscreen mode",
+      g_param_spec_enum ("fullscreen-mode", NULL, NULL,
                          GDK_TYPE_FULLSCREEN_MODE,
                          GDK_FULLSCREEN_ON_CURRENT_MONITOR,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
@@ -242,9 +224,7 @@ gdk_toplevel_default_init (GdkToplevelInterface *iface)
    * Whether the surface should inhibit keyboard shortcuts.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_boolean ("shortcuts-inhibited",
-                            "Shortcuts inhibited",
-                            "Whether keyboard shortcuts are inhibited",
+      g_param_spec_boolean ("shortcuts-inhibited", NULL, NULL,
                             FALSE,
                             G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY));
 
index cd61c44e1ad847e32c1e45ae4e129612ec4ff60c..c9e2dd19a6a935c5ffbe80782c8436e95ed126f6 100644 (file)
@@ -601,9 +601,7 @@ gdk_macos_drag_class_init (GdkMacosDragClass *klass)
   drag_class->handle_event = gdk_macos_drag_handle_event;
 
   properties [PROP_DRAG_SURFACE] =
-    g_param_spec_object ("drag-surface",
-                         P_("Drag Surface"),
-                         P_("Drag Surface"),
+    g_param_spec_object ("drag-surface", NULL, NULL,
                          GDK_TYPE_MACOS_DRAG_SURFACE,
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
index 168cdc4e67448fbf73fc061add183996d09f5eb8..d10992ffd47fc395b762cc179b8e30f4cbd9e000 100644 (file)
@@ -602,9 +602,7 @@ gdk_macos_surface_class_init (GdkMacosSurfaceClass *klass)
    * The "native" property contains the underlying NSWindow.
    */
   properties [PROP_NATIVE] =
-    g_param_spec_pointer ("native",
-                          "Native",
-                          "The native NSWindow",
+    g_param_spec_pointer ("native", NULL, NULL,
                           G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
   g_object_class_install_properties (object_class, LAST_PROP, properties);
index 39397d3eee37623b1082a3f5f32342387c007f7f..80d3c67f3ea94924e16f4e56cadaaca75c29846f 100644 (file)
@@ -231,22 +231,16 @@ gdk_win32_hcursor_class_init (GdkWin32HCursorClass *klass)
   object_class->set_property = gdk_win32_hcursor_set_property;
 
   hcursor_props[PROP_DISPLAY] =
-      g_param_spec_object ("display",
-                           P_("Display"),
-                           P_("The display that will use this cursor"),
+      g_param_spec_object ("display", NULL, NULL,
                            GDK_TYPE_DISPLAY,
                            G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
 
   hcursor_props[PROP_HANDLE] =
-      g_param_spec_pointer ("handle",
-                            P_("Handle"),
-                            P_("The HCURSOR handle for this cursor"),
+      g_param_spec_pointer ("handle", NULL, NULL,
                             G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
 
   hcursor_props[PROP_DESTROYABLE] =
-      g_param_spec_boolean ("destroyable",
-                            P_("Destroyable"),
-                            P_("Whether calling DestroyCursor() is allowed on this cursor"),
+      g_param_spec_boolean ("destroyable", NULL, NULL,
                             TRUE,
                             G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
 
index 7062a7330a9a50675bb2beca4c77f003c4c58f17..a8a0461e20ea7955ea5e4b9674b5bf836a0e516b 100644 (file)
@@ -116,9 +116,7 @@ gdk_x11_device_xi2_class_init (GdkX11DeviceXI2Class *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_DEVICE_ID,
-                                   g_param_spec_int ("device-id",
-                                                     P_("Device ID"),
-                                                     P_("Device identifier"),
+                                   g_param_spec_int ("device-id", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                                                      G_PARAM_STATIC_STRINGS));
index 214f6b1ea2a54d11a94fe392bcc1dd5e27f53ecb..be5598ed257c0f202197df536cb52faffbad43dd 100644 (file)
@@ -145,33 +145,25 @@ gdk_x11_device_manager_xi2_class_init (GdkX11DeviceManagerXI2Class *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_DISPLAY,
-                                   g_param_spec_object ("display",
-                                                        "Display",
-                                                        "Display for the device manager",
+                                   g_param_spec_object ("display", NULL, NULL,
                                                         GDK_TYPE_DISPLAY,
                                                         G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                                                         G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class,
                                    PROP_OPCODE,
-                                   g_param_spec_int ("opcode",
-                                                     P_("Opcode"),
-                                                     P_("Opcode for XInput2 requests"),
+                                   g_param_spec_int ("opcode", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                                                      G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class,
                                    PROP_MAJOR,
-                                   g_param_spec_int ("major",
-                                                     P_("Major"),
-                                                     P_("Major version number"),
+                                   g_param_spec_int ("major", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                                                      G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class,
                                    PROP_MINOR,
-                                   g_param_spec_int ("minor",
-                                                     P_("Minor"),
-                                                     P_("Minor version number"),
+                                   g_param_spec_int ("minor", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY |
                                                      G_PARAM_STATIC_STRINGS));
index 9b834e5fc8c40efc183a6756d158ced3e85328d5..27216418585ff9ec567c5de2043aa99dc3caae12 100644 (file)
@@ -94,9 +94,7 @@ gsk_gl_profiler_class_init (GskGLProfilerClass *klass)
   gobject_class->finalize = gsk_gl_profiler_finalize;
 
   gsk_gl_profiler_properties[PROP_GL_CONTEXT] =
-    g_param_spec_object ("gl-context",
-                         "GL Context",
-                         "The GdkGLContext used by the GL profiler",
+    g_param_spec_object ("gl-context", NULL, NULL,
                          GDK_TYPE_GL_CONTEXT,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
index 119ba8145bc9758ccdcafe1688ae878ebdd231fe..d7c22c25880b10118ba0e26291f38fdd537a60d1 100644 (file)
@@ -127,9 +127,7 @@ gsk_gl_shadow_library_class_init (GskGLShadowLibraryClass *klass)
   object_class->set_property = gsk_gl_shadow_library_set_property;
 
   properties [PROP_DRIVER] =
-    g_param_spec_object ("driver",
-                         "Driver",
-                         "Driver",
+    g_param_spec_object ("driver", NULL, NULL,
                          GSK_TYPE_GL_DRIVER,
                          (G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
 
index 996098581419746f0ce53c0ee236fabb08ccc250..24d3c5ab12524662ab1552458536f4a7e43e8e03 100644 (file)
@@ -256,9 +256,7 @@ gsk_gl_texture_library_class_init (GskGLTextureLibraryClass *klass)
   klass->allocate = gsk_gl_texture_library_real_allocate;
 
   properties [PROP_DRIVER] =
-    g_param_spec_object ("driver",
-                         "Driver",
-                         "Driver",
+    g_param_spec_object ("driver", NULL, NULL,
                          GSK_TYPE_GL_DRIVER,
                          (G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
 
index 9c3d728c672f6a7e0656e01b5a22bafedb8e8d20..7823651b8b201d448998582d7317d9cb8b7c22d7 100644 (file)
@@ -444,9 +444,7 @@ gsk_gl_shader_class_init (GskGLShaderClass *klass)
    * The source code for the shader, as a `GBytes`.
    */
   gsk_gl_shader_properties[GLSHADER_PROP_SOURCE] =
-    g_param_spec_boxed ("source",
-                        "Source",
-                        "The sourcecode for the shader",
+    g_param_spec_boxed ("source", NULL, NULL,
                         G_TYPE_BYTES,
                         G_PARAM_READWRITE |
                         G_PARAM_CONSTRUCT_ONLY |
@@ -461,9 +459,7 @@ gsk_gl_shader_class_init (GskGLShaderClass *klass)
    * will be %NULL.
    */
   gsk_gl_shader_properties[GLSHADER_PROP_RESOURCE] =
-    g_param_spec_string ("resource",
-                         "Resources",
-                         "Resource path to the source code",
+    g_param_spec_string ("resource", NULL, NULL,
                          NULL,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
index 03aa87f512f6b6d94f4ab6b3484c20055bc7588a..a3ceb0172b154ee57cec07f69d07fe3a2da74dde 100644 (file)
@@ -192,9 +192,7 @@ gsk_renderer_class_init (GskRendererClass *klass)
    * Whether the renderer has been associated with a surface or draw context.
    */
   gsk_renderer_properties[PROP_REALIZED] =
-    g_param_spec_boolean ("realized",
-                          "Realized",
-                          "The renderer has been associated with a surface or draw context",
+    g_param_spec_boolean ("realized", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -204,9 +202,7 @@ gsk_renderer_class_init (GskRendererClass *klass)
    * The surface associated with renderer.
    */
   gsk_renderer_properties[PROP_SURFACE] =
-    g_param_spec_object ("surface",
-                         "Surface",
-                         "The surface associated to the renderer",
+    g_param_spec_object ("surface", NULL, NULL,
                          GDK_TYPE_SURFACE,
                          G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index cf9d1934b4867fc47d3463ff9a93218b9df9d2ab..a5a980402b01747c4f577b503cb31cae8dbb9d39 100644 (file)
@@ -378,9 +378,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * `g_get_application_name()`.
    */
   props[PROP_NAME] =
-    g_param_spec_string ("program-name",
-                         P_("Program name"),
-                         P_("The name of the program. If this is not set, it defaults to g_get_application_name()"),
+    g_param_spec_string ("program-name", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -390,9 +388,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * The version of the program.
    */
   props[PROP_VERSION] =
-    g_param_spec_string ("version",
-                         P_("Program version"),
-                         P_("The version of the program"),
+    g_param_spec_string ("version", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -402,9 +398,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * Copyright information for the program.
    */
   props[PROP_COPYRIGHT] =
-    g_param_spec_string ("copyright",
-                         P_("Copyright string"),
-                         P_("Copyright information for the program"),
+    g_param_spec_string ("copyright", NULL, NULL,
                         NULL,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -418,9 +412,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * not a detailed list of features.
    */
   props[PROP_COMMENTS] =
-    g_param_spec_string ("comments",
-                         P_("Comments string"),
-                         P_("Comments about the program"),
+    g_param_spec_string ("comments", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -443,9 +435,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * be converted into clickable links.
    */
   props[PROP_LICENSE] =
-    g_param_spec_string ("license",
-                         P_("License"),
-                         P_("The license of the program"),
+    g_param_spec_string ("license", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -463,9 +453,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * be converted into clickable links.
    */
   props[PROP_SYSTEM_INFORMATION] =
-    g_param_spec_string ("system-information",
-                         P_("System Information"),
-                         P_("Information about the system on which the program is running"),
+    g_param_spec_string ("system-information", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -489,9 +477,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * a side effect.
    */
   props[PROP_LICENSE_TYPE] =
-    g_param_spec_enum ("license-type",
-                       P_("License Type"),
-                       P_("The license type of the program"),
+    g_param_spec_enum ("license-type", NULL, NULL,
                        GTK_TYPE_LICENSE,
                        GTK_LICENSE_UNKNOWN,
                        GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
@@ -504,9 +490,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * This should be a string starting with `http://` or `https://`.
    */
   props[PROP_WEBSITE] =
-    g_param_spec_string ("website",
-                         P_("Website URL"),
-                         P_("The URL for the link to the website of the program"),
+    g_param_spec_string ("website", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -516,9 +500,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * The label for the link to the website of the program.
    */
   props[PROP_WEBSITE_LABEL] =
-    g_param_spec_string ("website-label",
-                         P_("Website label"),
-                         P_("The label for the link to the website of the program"),
+    g_param_spec_string ("website-label", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -531,9 +513,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * as links, see the introduction for more details.
    */
   props[PROP_AUTHORS] =
-    g_param_spec_boxed ("authors",
-                        P_("Authors"),
-                        P_("List of authors of the program"),
+    g_param_spec_boxed ("authors", NULL, NULL,
                         G_TYPE_STRV,
                         GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -546,9 +526,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * as links, see the introduction for more details.
    */
   props[PROP_DOCUMENTERS] =
-    g_param_spec_boxed ("documenters",
-                        P_("Documenters"),
-                        P_("List of people documenting the program"),
+    g_param_spec_boxed ("documenters", NULL, NULL,
                         G_TYPE_STRV,
                         GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -562,9 +540,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * as links.
    */
   props[PROP_ARTISTS] =
-    g_param_spec_boxed ("artists",
-                        P_("Artists"),
-                        P_("List of people who have contributed artwork to the program"),
+    g_param_spec_boxed ("artists", NULL, NULL,
                         G_TYPE_STRV,
                         GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -579,9 +555,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * as links, see the introduction for more details.
    */
   props[PROP_TRANSLATOR_CREDITS] =
-    g_param_spec_string ("translator-credits",
-                         P_("Translator credits"),
-                         P_("Credits to the translators. This string should be marked as translatable"),
+    g_param_spec_string ("translator-credits", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -594,9 +568,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * [id@gtk_window_set_default_icon_name] will be used.
    */
   props[PROP_LOGO] =
-    g_param_spec_object ("logo",
-                         P_("Logo"),
-                         P_("A logo for the about box."),
+    g_param_spec_object ("logo", NULL, NULL,
                          GDK_TYPE_PAINTABLE,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -608,9 +580,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * This property overrides the [property@Gtk.AboutDialog:logo] property.
    */
   props[PROP_LOGO_ICON_NAME] =
-    g_param_spec_string ("logo-icon-name",
-                         P_("Logo Icon Name"),
-                         P_("A named icon to use as the logo for the about box."),
+    g_param_spec_string ("logo-icon-name", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -620,9 +590,7 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
    * Whether to wrap the text in the license dialog.
    */
   props[PROP_WRAP_LICENSE] =
-    g_param_spec_boolean ("wrap-license",
-                          P_("Wrap license"),
-                          P_("Whether to wrap the license text."),
+    g_param_spec_boolean ("wrap-license", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index ce4fdb07bfd87e2442c2c993658aa9780b65cf41..1daab9b0c38a567bf0ffcb2f1d672291beede7db 100644 (file)
@@ -65,9 +65,7 @@ gtk_accessible_default_init (GtkAccessibleInterface *iface)
    * The accessible role cannot be changed once set.
    */
   GParamSpec *pspec =
-    g_param_spec_enum ("accessible-role",
-                       "Accessible Role",
-                       "The role of the accessible object",
+    g_param_spec_enum ("accessible-role", NULL, NULL,
                        GTK_TYPE_ACCESSIBLE_ROLE,
                        GTK_ACCESSIBLE_ROLE_NONE,
                        G_PARAM_READWRITE |
index a37792ab4c40e231adb704be7f57b7721ef434e9..e27ed4b638116e925201c8bc4cbf2ffc7629be20 100644 (file)
@@ -58,13 +58,11 @@ static void
 gtk_actionable_default_init (GtkActionableInterface *iface)
 {
   g_object_interface_install_property (iface,
-    g_param_spec_string ("action-name", P_("Action name"),
-                         P_("The name of the associated action, like “app.quit”"),
+    g_param_spec_string ("action-name", NULL, NULL,
                          NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
   g_object_interface_install_property (iface,
-    g_param_spec_variant ("action-target", P_("Action target value"),
-                          P_("The parameter for action invocations"),
+    g_param_spec_variant ("action-target", NULL, NULL,
                           G_VARIANT_TYPE_ANY, NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 }
 
index bf646c94bc7b633949675a454c60320d056cc495..9d7b31268360085ecea7a5c8bd3773ba4adb0051 100644 (file)
@@ -171,9 +171,7 @@ gtk_action_bar_class_init (GtkActionBarClass *klass)
    * Controls whether the action bar shows its contents.
    */
   props[PROP_REVEALED] =
-    g_param_spec_boolean ("revealed",
-                          P_("Reveal"),
-                          P_("Controls whether the action bar shows its contents or not"),
+    g_param_spec_boolean ("revealed", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index 9f0573eca1c46bef9c03f24db29187e66907b7fa..59da82a5dc72b1f19aeb1b781fe5208b41cbf18b 100644 (file)
@@ -346,11 +346,11 @@ gtk_action_helper_class_init (GtkActionHelperClass *class)
   class->get_property = gtk_action_helper_get_property;
   class->finalize = gtk_action_helper_finalize;
 
-  gtk_action_helper_pspecs[PROP_ENABLED] = g_param_spec_boolean ("enabled", "enabled", "enabled", FALSE,
+  gtk_action_helper_pspecs[PROP_ENABLED] = g_param_spec_boolean ("enabled", NULL, NULL, FALSE,
                                                                  G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
-  gtk_action_helper_pspecs[PROP_ACTIVE] = g_param_spec_boolean ("active", "active", "active", FALSE,
+  gtk_action_helper_pspecs[PROP_ACTIVE] = g_param_spec_boolean ("active", NULL, NULL, FALSE,
                                                                 G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
-  gtk_action_helper_pspecs[PROP_ROLE] = g_param_spec_enum ("role", "role", "role",
+  gtk_action_helper_pspecs[PROP_ROLE] = g_param_spec_enum ("role", NULL, NULL,
                                                            GTK_TYPE_BUTTON_ROLE,
                                                            GTK_BUTTON_ROLE_NORMAL,
                                                            G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
index 06660ddf89dc07cfe1b9ba8bd2f40d0f3bc955b4..014274bc29523fdf8f95b1037094392d582b2d90 100644 (file)
@@ -1218,14 +1218,12 @@ gtk_action_muxer_class_init (GObjectClass *class)
   class->finalize = gtk_action_muxer_finalize;
   class->dispose = gtk_action_muxer_dispose;
 
-  properties[PROP_PARENT] = g_param_spec_object ("parent", "Parent",
-                                                 "The parent muxer",
+  properties[PROP_PARENT] = g_param_spec_object ("parent", NULL, NULL,
                                                  GTK_TYPE_ACTION_MUXER,
                                                  G_PARAM_READWRITE |
                                                  G_PARAM_STATIC_STRINGS);
 
-  properties[PROP_WIDGET] = g_param_spec_object ("widget", "Widget",
-                                                 "The widget that owns the muxer",
+  properties[PROP_WIDGET] = g_param_spec_object ("widget", NULL, NULL,
                                                  GTK_TYPE_WIDGET,
                                                  G_PARAM_READWRITE |
                                                  G_PARAM_CONSTRUCT_ONLY |
index 4adc25142cc7e13f90f7d413cb942eb6ecd7369d..9737ef21b5b0366a1dce36837ce72af17775cd98 100644 (file)
@@ -137,9 +137,7 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
    * The value of the adjustment.
    */
   adjustment_props[PROP_VALUE] =
-      g_param_spec_double ("value",
-                           P_("Value"),
-                           P_("The value of the adjustment"),
+      g_param_spec_double ("value", NULL, NULL,
                            -G_MAXDOUBLE, G_MAXDOUBLE,
                            0.0,
                            GTK_PARAM_READWRITE);
@@ -150,9 +148,7 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
    * The minimum value of the adjustment.
    */
   adjustment_props[PROP_LOWER] =
-      g_param_spec_double ("lower",
-                           P_("Minimum Value"),
-                           P_("The minimum value of the adjustment"),
+      g_param_spec_double ("lower", NULL, NULL,
                            -G_MAXDOUBLE, G_MAXDOUBLE,
                            0.0,
                            GTK_PARAM_READWRITE);
@@ -166,9 +162,7 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
    * property is nonzero.
    */
   adjustment_props[PROP_UPPER] =
-      g_param_spec_double ("upper",
-                           P_("Maximum Value"),
-                           P_("The maximum value of the adjustment"),
+      g_param_spec_double ("upper", NULL, NULL,
                            -G_MAXDOUBLE, G_MAXDOUBLE,
                            0.0,
                            GTK_PARAM_READWRITE);
@@ -179,9 +173,7 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
    * The step increment of the adjustment.
    */
   adjustment_props[PROP_STEP_INCREMENT] =
-      g_param_spec_double ("step-increment",
-                           P_("Step Increment"),
-                           P_("The step increment of the adjustment"),
+      g_param_spec_double ("step-increment", NULL, NULL,
                            -G_MAXDOUBLE, G_MAXDOUBLE,
                            0.0,
                            GTK_PARAM_READWRITE);
@@ -192,9 +184,7 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
    * The page increment of the adjustment.
    */
   adjustment_props[PROP_PAGE_INCREMENT] =
-      g_param_spec_double ("page-increment",
-                           P_("Page Increment"),
-                           P_("The page increment of the adjustment"),
+      g_param_spec_double ("page-increment", NULL, NULL,
                            -G_MAXDOUBLE, G_MAXDOUBLE,
                            0.0,
                            GTK_PARAM_READWRITE);
@@ -209,9 +199,7 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class)
    * `GtkSpinButton`.
    */
   adjustment_props[PROP_PAGE_SIZE] =
-      g_param_spec_double ("page-size",
-                           P_("Page Size"),
-                           P_("The page size of the adjustment"),
+      g_param_spec_double ("page-size", NULL, NULL,
                            -G_MAXDOUBLE, G_MAXDOUBLE,
                            0.0,
                            GTK_PARAM_READWRITE);
index 1d1ba7da261c3a0c493a13b87673aa3b7f727e2c..be551248945835ab1fa7fb28db6a3adcc57c3504 100644 (file)
@@ -67,9 +67,7 @@ gtk_app_chooser_default_init (GtkAppChooserIface *iface)
    *
    * See `GContentType` for more information about content types.
    */
-  pspec = g_param_spec_string ("content-type",
-                               P_("Content type"),
-                               P_("The content type used by the open with object"),
+  pspec = g_param_spec_string ("content-type", NULL, NULL,
                                NULL,
                                G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE |
                                G_PARAM_STATIC_STRINGS);
index 0878a9f81bfa4358ff5335b3f6e4a1f5e8989039..bec256da6c02ecfb9ae45212b56117c463e4c7f5 100644 (file)
@@ -682,9 +682,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
    * a `GtkAppChooserDialog`.
    */
   properties[PROP_SHOW_DIALOG_ITEM] =
-    g_param_spec_boolean ("show-dialog-item",
-                          P_("Include an “Other…” item"),
-                          P_("Whether the combobox should include an item that triggers a GtkAppChooserDialog"),
+    g_param_spec_boolean ("show-dialog-item", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -695,9 +693,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
    * on top for the provided content type.
    */
   properties[PROP_SHOW_DEFAULT_ITEM] =
-    g_param_spec_boolean ("show-default-item",
-                          P_("Show default item"),
-                          P_("Whether the combobox should show the default application on top"),
+    g_param_spec_boolean ("show-default-item", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -710,9 +706,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
    * The string may contain Pango markup.
    */
   properties[PROP_HEADING] =
-    g_param_spec_string ("heading",
-                         P_("Heading"),
-                         P_("The text to show at the top of the dialog"),
+    g_param_spec_string ("heading", NULL, NULL,
                          NULL,
                          G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -722,9 +716,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
    * Whether the app chooser dialog should be modal.
    */
   properties[PROP_MODAL] =
-    g_param_spec_boolean ("modal",
-                          P_("Modal"),
-                          P_("Whether the dialog should be modal"),
+    g_param_spec_boolean ("modal", NULL, NULL,
                           TRUE,
                           G_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
   g_object_class_install_properties (oclass, NUM_PROPERTIES, properties);
index b770b554dc10935c9a83c4f7611eb23d334c1272..62b4d858bceb195befe45e98736e3104dcc3814e 100644 (file)
@@ -598,9 +598,7 @@ gtk_app_chooser_dialog_class_init (GtkAppChooserDialogClass *klass)
    * The dialog's `GtkAppChooserWidget` content type will
    * be guessed from the file, if present.
    */
-  pspec = g_param_spec_object ("gfile",
-                               P_("GFile"),
-                               P_("The GFile used by the app chooser dialog"),
+  pspec = g_param_spec_object ("gfile", NULL, NULL,
                                G_TYPE_FILE,
                                G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE |
                                G_PARAM_STATIC_STRINGS);
@@ -613,9 +611,7 @@ gtk_app_chooser_dialog_class_init (GtkAppChooserDialogClass *klass)
    *
    * The string may contain Pango markup.
    */
-  pspec = g_param_spec_string ("heading",
-                               P_("Heading"),
-                               P_("The text to show at the top of the dialog"),
+  pspec = g_param_spec_string ("heading", NULL, NULL,
                                NULL,
                                G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
                                G_PARAM_EXPLICIT_NOTIFY);
index b8a5f829dafb20d7517ed6aeba02524b958d9d91..7769f30ba9c6bd037ebb26308bb47183a75794ee 100644 (file)
@@ -906,9 +906,7 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
    * If %FALSE, the default handler is listed among the recommended
    * applications.
    */
-  pspec = g_param_spec_boolean ("show-default",
-                                P_("Show default app"),
-                                P_("Whether the widget should show the default application"),
+  pspec = g_param_spec_boolean ("show-default", NULL, NULL,
                                 FALSE,
                                 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
   g_object_class_install_property (gobject_class, PROP_SHOW_DEFAULT, pspec);
@@ -922,9 +920,7 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
    * If %FALSE, the recommended applications are listed
    * among the other applications.
    */
-  pspec = g_param_spec_boolean ("show-recommended",
-                                P_("Show recommended apps"),
-                                P_("Whether the widget should show recommended applications"),
+  pspec = g_param_spec_boolean ("show-recommended", NULL, NULL,
                                 TRUE,
                                 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
   g_object_class_install_property (gobject_class, PROP_SHOW_RECOMMENDED, pspec);
@@ -938,9 +934,7 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
    * If %FALSE, the fallback applications are listed among the
    * other applications.
    */
-  pspec = g_param_spec_boolean ("show-fallback",
-                                P_("Show fallback apps"),
-                                P_("Whether the widget should show fallback applications"),
+  pspec = g_param_spec_boolean ("show-fallback", NULL, NULL,
                                 FALSE,
                                 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
   g_object_class_install_property (gobject_class, PROP_SHOW_FALLBACK, pspec);
@@ -951,9 +945,7 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
    * Determines whether the app chooser should show a section
    * for other applications.
    */
-  pspec = g_param_spec_boolean ("show-other",
-                                P_("Show other apps"),
-                                P_("Whether the widget should show other applications"),
+  pspec = g_param_spec_boolean ("show-other", NULL, NULL,
                                 FALSE,
                                 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
   g_object_class_install_property (gobject_class, PROP_SHOW_OTHER, pspec);
@@ -965,9 +957,7 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
    * in a single list, without subsections for default,
    * recommended or related applications.
    */
-  pspec = g_param_spec_boolean ("show-all",
-                                P_("Show all apps"),
-                                P_("Whether the widget should show all applications"),
+  pspec = g_param_spec_boolean ("show-all", NULL, NULL,
                                 FALSE,
                                 G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
   g_object_class_install_property (gobject_class, PROP_SHOW_ALL, pspec);
@@ -978,9 +968,7 @@ gtk_app_chooser_widget_class_init (GtkAppChooserWidgetClass *klass)
    * The text that appears in the widget when there are no applications
    * for the given content type.
    */
-  pspec = g_param_spec_string ("default-text",
-                               P_("Widget’s default text"),
-                               P_("The default text appearing when there are no applications"),
+  pspec = g_param_spec_string ("default-text", NULL, NULL,
                                NULL,
                                G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
   g_object_class_install_property (gobject_class, PROP_DEFAULT_TEXT, pspec);
index 363de28a86293250002ee5d621b6086146ba8d8d..11cf333db1fbe2e68b901ab459bbf4c83f0c7ab5 100644 (file)
@@ -598,9 +598,7 @@ gtk_application_class_init (GtkApplicationClass *class)
    * [property@Gtk.Application:screensaver-active] property).
    */
   gtk_application_props[PROP_REGISTER_SESSION] =
-    g_param_spec_boolean ("register-session",
-                          P_("Register session"),
-                          P_("Register with the session manager"),
+    g_param_spec_boolean ("register-session", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS);
 
@@ -617,9 +615,7 @@ gtk_application_class_init (GtkApplicationClass *class)
    * Linux.
    */
   gtk_application_props[PROP_SCREENSAVER_ACTIVE] =
-    g_param_spec_boolean ("screensaver-active",
-                          P_("Screensaver Active"),
-                          P_("Whether the screensaver is active"),
+    g_param_spec_boolean ("screensaver-active", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE|G_PARAM_STATIC_STRINGS);
 
@@ -629,9 +625,7 @@ gtk_application_class_init (GtkApplicationClass *class)
    * The `GMenuModel` to be used for the application's menu bar.
    */
   gtk_application_props[PROP_MENUBAR] =
-    g_param_spec_object ("menubar",
-                         P_("Menubar"),
-                         P_("The GMenuModel for the menubar"),
+    g_param_spec_object ("menubar", NULL, NULL,
                          G_TYPE_MENU_MODEL,
                          G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS);
 
@@ -641,9 +635,7 @@ gtk_application_class_init (GtkApplicationClass *class)
    * The currently focused window of the application.
    */
   gtk_application_props[PROP_ACTIVE_WINDOW] =
-    g_param_spec_object ("active-window",
-                         P_("Active window"),
-                         P_("The window which most recently had focus"),
+    g_param_spec_object ("active-window", NULL, NULL,
                          GTK_TYPE_WINDOW,
                          G_PARAM_READABLE|G_PARAM_STATIC_STRINGS);
 
index 170759d772b155b8a6e55fcbce874181e68dc487..20b49774453696aa4f6c8caf2827b4a1dc20dd98 100644 (file)
@@ -685,10 +685,7 @@ gtk_application_window_class_init (GtkApplicationWindowClass *class)
    * of whether the desktop shell is showing it or not.
    */
   gtk_application_window_properties[PROP_SHOW_MENUBAR] =
-    g_param_spec_boolean ("show-menubar",
-                          P_("Show a menubar"),
-                          P_("TRUE if the window should show a "
-                             "menubar at the top of the window"),
+    g_param_spec_boolean ("show-menubar", NULL, NULL,
                           FALSE, G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS | G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
   g_object_class_install_properties (object_class, N_PROPS, gtk_application_window_properties);
 }
index 805f6ce40e3dd3968e7df475049de9cdec70e520..29b09492d81e86c16fca82b0d8f29f74cf996eb5 100644 (file)
@@ -140,9 +140,7 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_XALIGN,
-                                   g_param_spec_float ("xalign",
-                                                       P_("Horizontal Alignment"),
-                                                       P_("X alignment of the child"),
+                                   g_param_spec_float ("xalign", NULL, NULL,
                                                        0.0, 1.0, 0.5,
                                                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   /**
@@ -152,9 +150,7 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_YALIGN,
-                                   g_param_spec_float ("yalign",
-                                                       P_("Vertical Alignment"),
-                                                       P_("Y alignment of the child"),
+                                   g_param_spec_float ("yalign", NULL, NULL,
                                                        0.0, 1.0, 0.5,
                                                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   /**
@@ -167,9 +163,7 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_RATIO,
-                                   g_param_spec_float ("ratio",
-                                                       P_("Ratio"),
-                                                       P_("Aspect ratio if obey_child is FALSE"),
+                                   g_param_spec_float ("ratio", NULL, NULL,
                                                        MIN_RATIO, MAX_RATIO, 1.0,
                                                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   /**
@@ -179,9 +173,7 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_OBEY_CHILD,
-                                   g_param_spec_boolean ("obey-child",
-                                                         P_("Obey child"),
-                                                         P_("Force aspect ratio to match that of the frame’s child"),
+                                   g_param_spec_boolean ("obey-child", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   /**
@@ -191,9 +183,7 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_CHILD,
-                                   g_param_spec_object ("child",
-                                                        P_("Child"),
-                                                        P_("The child widget"),
+                                   g_param_spec_object ("child", NULL, NULL,
                                                         GTK_TYPE_WIDGET,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index 464e6f1b683ca4732b891aaae8b3046dee103130..81934c815a279f622b4b5878ee72cd6f9aeb2b19 100644 (file)
@@ -253,9 +253,7 @@ gtk_assistant_page_class_init (GtkAssistantPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_PAGE_TYPE,
-                                   g_param_spec_enum ("page-type",
-                                                      P_("Page type"),
-                                                      P_("The type of the assistant page"),
+                                   g_param_spec_enum ("page-type", NULL, NULL,
                                                       GTK_TYPE_ASSISTANT_PAGE_TYPE,
                                                       GTK_ASSISTANT_PAGE_CONTENT,
                                                       GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
@@ -267,9 +265,7 @@ gtk_assistant_page_class_init (GtkAssistantPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_PAGE_TITLE,
-                                   g_param_spec_string ("title",
-                                                        P_("Page title"),
-                                                        P_("The title of the assistant page"),
+                                   g_param_spec_string ("title", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
 
@@ -283,9 +279,7 @@ gtk_assistant_page_class_init (GtkAssistantPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_PAGE_COMPLETE,
-                                   g_param_spec_boolean ("complete",
-                                                         P_("Page complete"),
-                                                         P_("Whether all required fields on the page have been filled out"),
+                                   g_param_spec_boolean ("complete", NULL, NULL,
                                                          FALSE,
                                                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
 
@@ -296,9 +290,7 @@ gtk_assistant_page_class_init (GtkAssistantPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_CHILD,
-                                   g_param_spec_object ("child",
-                                                        P_("Child widget"),
-                                                        P_("The content the assistant page"),
+                                   g_param_spec_object ("child", NULL, NULL,
                                                         GTK_TYPE_WIDGET,
                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 }
@@ -604,9 +596,7 @@ gtk_assistant_class_init (GtkAssistantClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_USE_HEADER_BAR,
-                                   g_param_spec_int ("use-header-bar",
-                                                     P_("Use Header Bar"),
-                                                     P_("Use Header Bar for actions."),
+                                   g_param_spec_int ("use-header-bar", NULL, NULL,
                                                      -1, 1, -1,
                                                      GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY));
 
@@ -617,9 +607,7 @@ gtk_assistant_class_init (GtkAssistantClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_PAGES,
-                                   g_param_spec_object ("pages",
-                                                        P_("Pages"),
-                                                        P_("The pages of the assistant."),
+                                   g_param_spec_object ("pages", NULL, NULL,
                                                         G_TYPE_LIST_MODEL,
                                                         GTK_PARAM_READABLE));
 
index cbb664e2eabf0cee2bffb3e2bda5f68e7d772cca..9205e9b5fdb3d4d35e15654ac5471d7f5b7620d1 100644 (file)
@@ -209,9 +209,7 @@ gtk_at_context_class_init (GtkATContextClass *klass)
    * set or retrieved.
    */
   obj_props[PROP_ACCESSIBLE_ROLE] =
-    g_param_spec_enum ("accessible-role",
-                       "Accessible Role",
-                       "The accessible role of the AT context",
+    g_param_spec_enum ("accessible-role", NULL, NULL,
                        GTK_TYPE_ACCESSIBLE_ROLE,
                        GTK_ACCESSIBLE_ROLE_NONE,
                        G_PARAM_READWRITE |
@@ -224,9 +222,7 @@ gtk_at_context_class_init (GtkATContextClass *klass)
    * The `GtkAccessible` that created the `GtkATContext` instance.
    */
   obj_props[PROP_ACCESSIBLE] =
-    g_param_spec_object ("accessible",
-                         "Accessible",
-                         "The accessible implementation",
+    g_param_spec_object ("accessible", NULL, NULL,
                          GTK_TYPE_ACCESSIBLE,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY |
@@ -238,9 +234,7 @@ gtk_at_context_class_init (GtkATContextClass *klass)
    * The `GdkDisplay` for the `GtkATContext`.
    */
   obj_props[PROP_DISPLAY] =
-    g_param_spec_object ("display",
-                         "Display",
-                         "The display connection",
+    g_param_spec_object ("display", NULL, NULL,
                          GDK_TYPE_DISPLAY,
                          G_PARAM_READWRITE |
                          G_PARAM_STATIC_STRINGS |
index c947b25a4f591c5a73a0cb9b61353297490fd6a3..59be4eca12a8a1c283307b61e13ef82d3bd11537 100644 (file)
@@ -213,9 +213,7 @@ gtk_bookmark_list_class_init (GtkBookmarkListClass *class)
    * The bookmark file to load.
    */
   properties[PROP_FILENAME] =
-      g_param_spec_string ("filename",
-                           P_("Filename"),
-                           P_("Bookmark file to load"),
+      g_param_spec_string ("filename", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_EXPLICIT_NOTIFY);
   /**
@@ -224,9 +222,7 @@ gtk_bookmark_list_class_init (GtkBookmarkListClass *class)
    * The attributes to query.
    */
   properties[PROP_ATTRIBUTES] =
-      g_param_spec_string ("attributes",
-                           P_("Attributes"),
-                           P_("Attributes to query"),
+      g_param_spec_string ("attributes", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -236,9 +232,7 @@ gtk_bookmark_list_class_init (GtkBookmarkListClass *class)
    * Priority used when loading.
    */
   properties[PROP_IO_PRIORITY] =
-      g_param_spec_int ("io-priority",
-                        P_("IO priority"),
-                        P_("Priority used when loading"),
+      g_param_spec_int ("io-priority", NULL, NULL,
                         -G_MAXINT, G_MAXINT, G_PRIORITY_DEFAULT,
                         GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -248,9 +242,7 @@ gtk_bookmark_list_class_init (GtkBookmarkListClass *class)
    * %TRUE if files are being loaded.
    */
   properties[PROP_LOADING] =
-      g_param_spec_boolean ("loading",
-                            P_("loading"),
-                            P_("TRUE if files are being loaded"),
+      g_param_spec_boolean ("loading", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
 
index 987ec1ff4dfdd158b907666bb5ce902dddf365dc..0bdb29ea474899c4acc58a1646f7ecb9894eedd8 100644 (file)
@@ -159,9 +159,7 @@ gtk_bool_filter_class_init (GtkBoolFilterClass *class)
    * The boolean expression to evaluate on item.
    */
   properties[PROP_EXPRESSION] =
-    gtk_param_spec_expression ("expression",
-                               P_("Expression"),
-                               P_("Expression to evaluate"),
+    gtk_param_spec_expression ("expression", NULL, NULL,
                                G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
   /**
@@ -170,9 +168,7 @@ gtk_bool_filter_class_init (GtkBoolFilterClass *class)
    * If the expression result should be inverted.
    */
   properties[PROP_INVERT] =
-      g_param_spec_boolean ("invert",
-                            P_("Invert"),
-                            P_("If the expression result should be inverted"),
+      g_param_spec_boolean ("invert", NULL, NULL,
                             FALSE,
                             G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
index c1b46ab06e8828da09320d69bc193dce806877de..bd106fd30810c06d52db2fcd5f35e01b914a4ba4 100644 (file)
@@ -258,9 +258,7 @@ gtk_box_class_init (GtkBoxClass *class)
    * The amount of space between children.
    */
   props[PROP_SPACING] =
-    g_param_spec_int ("spacing",
-                      P_("Spacing"),
-                      P_("The amount of space between children"),
+    g_param_spec_int ("spacing", NULL, NULL,
                       0, G_MAXINT, 0,
                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -270,9 +268,7 @@ gtk_box_class_init (GtkBoxClass *class)
    * Whether the children should all be the same size.
    */
   props[PROP_HOMOGENEOUS] =
-    g_param_spec_boolean ("homogeneous",
-                          P_("Homogeneous"),
-                          P_("Whether the children should all be the same size"),
+    g_param_spec_boolean ("homogeneous", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -282,9 +278,7 @@ gtk_box_class_init (GtkBoxClass *class)
    * The position of the baseline aligned widgets if extra space is available.
    */
   props[PROP_BASELINE_POSITION] =
-    g_param_spec_enum ("baseline-position",
-                       P_("Baseline position"),
-                       P_("The position of the baseline aligned widgets if extra space is available"),
+    g_param_spec_enum ("baseline-position", NULL, NULL,
                        GTK_TYPE_BASELINE_POSITION,
                        GTK_BASELINE_POSITION_CENTER,
                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
index 5d1b63169dcd3ed7372a46484600359e724ff6d5..275e0371c954301ca76c2596d510ae8f61c17a5d 100644 (file)
@@ -896,9 +896,7 @@ gtk_box_layout_class_init (GtkBoxLayoutClass *klass)
    * equally among the children.
    */
   box_layout_props[PROP_HOMOGENEOUS] =
-    g_param_spec_boolean ("homogeneous",
-                          P_("Homogeneous"),
-                          P_("Distribute space homogeneously"),
+    g_param_spec_boolean ("homogeneous", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE |
                           G_PARAM_EXPLICIT_NOTIFY);
@@ -909,9 +907,7 @@ gtk_box_layout_class_init (GtkBoxLayoutClass *klass)
    * The space to put between the children.
    */
   box_layout_props[PROP_SPACING] =
-    g_param_spec_int ("spacing",
-                      P_("Spacing"),
-                      P_("Spacing between widgets"),
+    g_param_spec_int ("spacing", NULL, NULL,
                       0, G_MAXINT, 0,
                       GTK_PARAM_READWRITE |
                       G_PARAM_EXPLICIT_NOTIFY);
@@ -926,9 +922,7 @@ gtk_box_layout_class_init (GtkBoxLayoutClass *klass)
    * at least one child with a baseline alignment.
    */
   box_layout_props[PROP_BASELINE_POSITION] =
-    g_param_spec_enum ("baseline-position",
-                       P_("Baseline position"),
-                       P_("The position of the baseline aligned widgets if extra space is available"),
+    g_param_spec_enum ("baseline-position", NULL, NULL,
                        GTK_TYPE_BASELINE_POSITION,
                        GTK_BASELINE_POSITION_CENTER,
                        GTK_PARAM_READWRITE |
index ec9fa6f913b29816db4adf6951c55d28214cae1d..ab28ccc5d9cd1f685f3a2d7a53134e5d5eef0b60 100644 (file)
@@ -305,9 +305,7 @@ gtk_builder_class_init (GtkBuilderClass *klass)
   * otherwise g_dgettext().
   */
   builder_props[PROP_TRANSLATION_DOMAIN] =
-      g_param_spec_string ("translation-domain",
-                           P_("Translation Domain"),
-                           P_("The translation domain used by gettext"),
+      g_param_spec_string ("translation-domain", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
@@ -317,9 +315,7 @@ gtk_builder_class_init (GtkBuilderClass *klass)
   * The object the builder is evaluating for.
   */
   builder_props[PROP_CURRENT_OBJECT] =
-      g_param_spec_object ("current-object",
-                           P_("Current object"),
-                           P_("The object the builder is evaluating for"),
+      g_param_spec_object ("current-object", NULL, NULL,
                            G_TYPE_OBJECT,
                            GTK_PARAM_READWRITE);
 
@@ -329,9 +325,7 @@ gtk_builder_class_init (GtkBuilderClass *klass)
   * The scope the builder is operating in
   */
   builder_props[PROP_SCOPE] =
-      g_param_spec_object ("scope",
-                           P_("Scope"),
-                           P_("The scope the builder is operating in"),
+      g_param_spec_object ("scope", NULL, NULL,
                            GTK_TYPE_BUILDER_SCOPE,
                            GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT);
 
index 0c30d0082f258ff8d070df5414bd4b8cba1d1929..19c95f2776af50567fd804a41d3793b9c0a596a2 100644 (file)
@@ -264,9 +264,7 @@ gtk_builder_list_item_factory_class_init (GtkBuilderListItemFactoryClass *klass)
    * `GBytes` containing the UI definition.
    */
   properties[PROP_BYTES] =
-    g_param_spec_boxed ("bytes",
-                        P_("Bytes"),
-                        P_("bytes containing the UI definition"),
+    g_param_spec_boxed ("bytes", NULL, NULL,
                         G_TYPE_BYTES,
                         G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
@@ -276,9 +274,7 @@ gtk_builder_list_item_factory_class_init (GtkBuilderListItemFactoryClass *klass)
    * Path of the resource containing the UI definition.
    */
   properties[PROP_RESOURCE] =
-    g_param_spec_string ("resource",
-                         P_("Resource"),
-                         P_("resource containing the UI definition"),
+    g_param_spec_string ("resource", NULL, NULL,
                          NULL,
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
@@ -288,9 +284,7 @@ gtk_builder_list_item_factory_class_init (GtkBuilderListItemFactoryClass *klass)
    * `GtkBuilderScope` to use when instantiating listitems
    */
   properties[PROP_SCOPE] =
-    g_param_spec_object ("scope",
-                         P_("Scope"),
-                         P_("scope to use when instantiating listitems"),
+    g_param_spec_object ("scope", NULL, NULL,
                          GTK_TYPE_BUILDER_SCOPE,
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
index f02ca168bc89c32b566b6b1c55dbc44e24b6b3b0..2e4b8b75c98bcc7a80230bc5633a26ad972f1c86 100644 (file)
@@ -218,9 +218,7 @@ gtk_button_class_init (GtkButtonClass *klass)
    * Text of the label inside the button, if the button contains a label widget.
    */
   props[PROP_LABEL] =
-    g_param_spec_string ("label",
-                         P_("Label"),
-                         P_("Text of the label widget inside the button, if the button contains a label widget"),
+    g_param_spec_string ("label", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -231,9 +229,7 @@ gtk_button_class_init (GtkButtonClass *klass)
    * to be used as mnemonic.
    */
   props[PROP_USE_UNDERLINE] =
-    g_param_spec_boolean ("use-underline",
-                          P_("Use underline"),
-                          P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
+    g_param_spec_boolean ("use-underline", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -243,9 +239,7 @@ gtk_button_class_init (GtkButtonClass *klass)
    * Whether the button has a frame.
    */
   props[PROP_HAS_FRAME] =
-    g_param_spec_boolean ("has-frame",
-                          P_("Has Frame"),
-                          P_("Whether the button has a frame"),
+    g_param_spec_boolean ("has-frame", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -255,9 +249,7 @@ gtk_button_class_init (GtkButtonClass *klass)
    * The name of the icon used to automatically populate the button.
    */
   props[PROP_ICON_NAME] =
-    g_param_spec_string ("icon-name",
-                         P_("Icon Name"),
-                         P_("The name of the icon used to automatically populate the button"),
+    g_param_spec_string ("icon-name", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -267,9 +259,7 @@ gtk_button_class_init (GtkButtonClass *klass)
    * The child widget.
    */
   props[PROP_CHILD] =
-    g_param_spec_object ("child",
-                         P_("Child"),
-                         P_("The child widget"),
+    g_param_spec_object ("child", NULL, NULL,
                          GTK_TYPE_WIDGET,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index d24d58fb9c34448e15d3a98f9560c5d5610c13a1..8f93da1311ce23d68308cdf2a29c236f6b18bd11 100644 (file)
@@ -372,9 +372,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_YEAR,
-                                   g_param_spec_int ("year",
-                                                     P_("Year"),
-                                                     P_("The selected year"),
+                                   g_param_spec_int ("year", NULL, NULL,
                                                      1, 9999, 1,
                                                      G_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -387,9 +385,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_MONTH,
-                                   g_param_spec_int ("month",
-                                                     P_("Month"),
-                                                     P_("The selected month (as a number between 0 and 11)"),
+                                   g_param_spec_int ("month", NULL, NULL,
                                                      0, 11, 0,
                                                      G_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -400,9 +396,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_DAY,
-                                   g_param_spec_int ("day",
-                                                     P_("Day"),
-                                                     P_("The selected day (as a number between 1 and 31)"),
+                                   g_param_spec_int ("day", NULL, NULL,
                                                      1, 31, 1,
                                                      G_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -413,9 +407,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SHOW_HEADING,
-                                   g_param_spec_boolean ("show-heading",
-                                                         P_("Show Heading"),
-                                                         P_("If TRUE, a heading is displayed"),
+                                   g_param_spec_boolean ("show-heading", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -426,9 +418,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SHOW_DAY_NAMES,
-                                   g_param_spec_boolean ("show-day-names",
-                                                         P_("Show Day Names"),
-                                                         P_("If TRUE, day names are displayed"),
+                                   g_param_spec_boolean ("show-day-names", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   /**
@@ -438,9 +428,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SHOW_WEEK_NUMBERS,
-                                   g_param_spec_boolean ("show-week-numbers",
-                                                         P_("Show Week Numbers"),
-                                                         P_("If TRUE, week numbers are displayed"),
+                                   g_param_spec_boolean ("show-week-numbers", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index 3cb08fdee002def73d0db8ce17b5178d902601f8..cdd0ca852d1890b57fbd49f5fd11e7e07794a2bf 100644 (file)
@@ -774,9 +774,7 @@ gtk_cell_area_class_init (GtkCellAreaClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_FOCUS_CELL,
-                                   g_param_spec_object ("focus-cell",
-                                                        P_("Focus Cell"),
-                                                        P_("The cell which currently has focus"),
+                                   g_param_spec_object ("focus-cell", NULL, NULL,
                                                         GTK_TYPE_CELL_RENDERER,
                                                         GTK_PARAM_READWRITE));
 
@@ -790,9 +788,7 @@ gtk_cell_area_class_init (GtkCellAreaClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_EDITED_CELL,
-                                   g_param_spec_object ("edited-cell",
-                                                        P_("Edited Cell"),
-                                                        P_("The cell which is currently being edited"),
+                                   g_param_spec_object ("edited-cell", NULL, NULL,
                                                         GTK_TYPE_CELL_RENDERER,
                                                         GTK_PARAM_READABLE));
 
@@ -806,9 +802,7 @@ gtk_cell_area_class_init (GtkCellAreaClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_EDIT_WIDGET,
-                                   g_param_spec_object ("edit-widget",
-                                                        P_("Edit Widget"),
-                                                        P_("The widget currently editing the edited cell"),
+                                   g_param_spec_object ("edit-widget", NULL, NULL,
                                                         GTK_TYPE_CELL_EDITABLE,
                                                         GTK_PARAM_READABLE));
 
index b1049a7daef9307ffa2462fde51b5e49f37d7e7d..626502cb1844ae6df35aa906ff2abcd6ad9f249b 100644 (file)
@@ -312,9 +312,7 @@ gtk_cell_area_box_class_init (GtkCellAreaBoxClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_SPACING,
-                                   g_param_spec_int ("spacing",
-                                                     P_("Spacing"),
-                                                     P_("Space which is inserted between cells"),
+                                   g_param_spec_int ("spacing", NULL, NULL,
                                                      0,
                                                      G_MAXINT,
                                                      0,
@@ -330,9 +328,7 @@ gtk_cell_area_box_class_init (GtkCellAreaBoxClass *class)
   gtk_cell_area_class_install_cell_property (area_class,
                                              CELL_PROP_EXPAND,
                                              g_param_spec_boolean
-                                             ("expand",
-                                              P_("Expand"),
-                                              P_("Whether the cell expands"),
+                                             ("expand", NULL, NULL,
                                               FALSE,
                                               GTK_PARAM_READWRITE));
 
@@ -344,9 +340,7 @@ gtk_cell_area_box_class_init (GtkCellAreaBoxClass *class)
   gtk_cell_area_class_install_cell_property (area_class,
                                              CELL_PROP_ALIGN,
                                              g_param_spec_boolean
-                                             ("align",
-                                              P_("Align"),
-                                              P_("Whether cell should align with adjacent rows"),
+                                             ("align", NULL, NULL,
                                               FALSE,
                                               GTK_PARAM_READWRITE));
 
@@ -359,9 +353,7 @@ gtk_cell_area_box_class_init (GtkCellAreaBoxClass *class)
   gtk_cell_area_class_install_cell_property (area_class,
                                              CELL_PROP_FIXED_SIZE,
                                              g_param_spec_boolean
-                                             ("fixed-size",
-                                              P_("Fixed Size"),
-                                              P_("Whether cells should be the same size in all rows"),
+                                             ("fixed-size", NULL, NULL,
                                               TRUE,
                                               GTK_PARAM_READWRITE));
 
@@ -374,10 +366,7 @@ gtk_cell_area_box_class_init (GtkCellAreaBoxClass *class)
   gtk_cell_area_class_install_cell_property (area_class,
                                              CELL_PROP_PACK_TYPE,
                                              g_param_spec_enum
-                                             ("pack-type",
-                                              P_("Pack Type"),
-                                              P_("A GtkPackType indicating whether the cell is packed with "
-                                                 "reference to the start or end of the cell area"),
+                                             ("pack-type", NULL, NULL,
                                               GTK_TYPE_PACK_TYPE, GTK_PACK_START,
                                               GTK_PARAM_READWRITE));
 }
index eec984c7793cc4e68bed4c138448e7683e56ad8f..9886bccabc650a25938d9863b21af053c46f55e2 100644 (file)
@@ -109,9 +109,7 @@ gtk_cell_area_context_class_init (GtkCellAreaContextClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_CELL_AREA,
-                                   g_param_spec_object ("area",
-                                                        P_("Area"),
-                                                        P_("The Cell Area this context was created for"),
+                                   g_param_spec_object ("area", NULL, NULL,
                                                         GTK_TYPE_CELL_AREA,
                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -124,9 +122,7 @@ gtk_cell_area_context_class_init (GtkCellAreaContextClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_MIN_WIDTH,
-                                   g_param_spec_int ("minimum-width",
-                                                     P_("Minimum Width"),
-                                                     P_("Minimum cached width"),
+                                   g_param_spec_int ("minimum-width", NULL, NULL,
                                                      -1, G_MAXINT, -1,
                                                      GTK_PARAM_READABLE));
 
@@ -139,9 +135,7 @@ gtk_cell_area_context_class_init (GtkCellAreaContextClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_NAT_WIDTH,
-                                   g_param_spec_int ("natural-width",
-                                                     P_("Minimum Width"),
-                                                     P_("Minimum cached width"),
+                                   g_param_spec_int ("natural-width", NULL, NULL,
                                                      -1, G_MAXINT, -1,
                                                      GTK_PARAM_READABLE));
 
@@ -154,9 +148,7 @@ gtk_cell_area_context_class_init (GtkCellAreaContextClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_MIN_HEIGHT,
-                                   g_param_spec_int ("minimum-height",
-                                                     P_("Minimum Height"),
-                                                     P_("Minimum cached height"),
+                                   g_param_spec_int ("minimum-height", NULL, NULL,
                                                      -1, G_MAXINT, -1,
                                                      GTK_PARAM_READABLE));
 
@@ -169,9 +161,7 @@ gtk_cell_area_context_class_init (GtkCellAreaContextClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_NAT_HEIGHT,
-                                   g_param_spec_int ("natural-height",
-                                                     P_("Minimum Height"),
-                                                     P_("Minimum cached height"),
+                                   g_param_spec_int ("natural-height", NULL, NULL,
                                                      -1, G_MAXINT, -1,
                                                      GTK_PARAM_READABLE));
 }
index 9c413c4bd5d8a0c4ee0c484a33abff09e0fbeade..b80ee1e762929947875dc5e0759330833179155a 100644 (file)
@@ -44,9 +44,7 @@ gtk_cell_editable_default_init (GtkCellEditableInterface *iface)
    * Indicates whether editing on the cell has been canceled.
    */
   g_object_interface_install_property (iface,
-                                       g_param_spec_boolean ("editing-canceled",
-                                       P_("Editing Canceled"),
-                                       P_("Indicates that editing has been canceled"),
+                                       g_param_spec_boolean ("editing-canceled", NULL, NULL,
                                        FALSE,
                                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index c462c007c5b910fc8c1872ad7736d046ddc27629..ece9c4657a3a534e142ed6b405c0a8cc87b1f472 100644 (file)
@@ -277,33 +277,25 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_MODE,
-                                  g_param_spec_enum ("mode",
-                                                     P_("mode"),
-                                                     P_("Editable mode of the CellRenderer"),
+                                  g_param_spec_enum ("mode", NULL, NULL,
                                                      GTK_TYPE_CELL_RENDERER_MODE,
                                                      GTK_CELL_RENDERER_MODE_INERT,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_property (object_class,
                                   PROP_VISIBLE,
-                                  g_param_spec_boolean ("visible",
-                                                        P_("visible"),
-                                                        P_("Display the cell"),
+                                  g_param_spec_boolean ("visible", NULL, NULL,
                                                         TRUE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   g_object_class_install_property (object_class,
                                   PROP_SENSITIVE,
-                                  g_param_spec_boolean ("sensitive",
-                                                        P_("Sensitive"),
-                                                        P_("Display the cell sensitive"),
+                                  g_param_spec_boolean ("sensitive", NULL, NULL,
                                                         TRUE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_property (object_class,
                                   PROP_XALIGN,
-                                  g_param_spec_float ("xalign",
-                                                      P_("xalign"),
-                                                      P_("The x-align"),
+                                  g_param_spec_float ("xalign", NULL, NULL,
                                                       0.0,
                                                       1.0,
                                                       0.5,
@@ -311,9 +303,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_YALIGN,
-                                  g_param_spec_float ("yalign",
-                                                      P_("yalign"),
-                                                      P_("The y-align"),
+                                  g_param_spec_float ("yalign", NULL, NULL,
                                                       0.0,
                                                       1.0,
                                                       0.5,
@@ -321,9 +311,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_XPAD,
-                                  g_param_spec_uint ("xpad",
-                                                     P_("xpad"),
-                                                     P_("The xpad"),
+                                  g_param_spec_uint ("xpad", NULL, NULL,
                                                      0,
                                                      G_MAXUINT,
                                                      0,
@@ -331,9 +319,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_YPAD,
-                                  g_param_spec_uint ("ypad",
-                                                     P_("ypad"),
-                                                     P_("The ypad"),
+                                  g_param_spec_uint ("ypad", NULL, NULL,
                                                      0,
                                                      G_MAXUINT,
                                                      0,
@@ -341,9 +327,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_WIDTH,
-                                  g_param_spec_int ("width",
-                                                    P_("width"),
-                                                    P_("The fixed width"),
+                                  g_param_spec_int ("width", NULL, NULL,
                                                     -1,
                                                     G_MAXINT,
                                                     -1,
@@ -351,9 +335,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_HEIGHT,
-                                  g_param_spec_int ("height",
-                                                    P_("height"),
-                                                    P_("The fixed height"),
+                                  g_param_spec_int ("height", NULL, NULL,
                                                     -1,
                                                     G_MAXINT,
                                                     -1,
@@ -361,26 +343,20 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_IS_EXPANDER,
-                                  g_param_spec_boolean ("is-expander",
-                                                        P_("Is Expander"),
-                                                        P_("Row has children"),
+                                  g_param_spec_boolean ("is-expander", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
 
   g_object_class_install_property (object_class,
                                   PROP_IS_EXPANDED,
-                                  g_param_spec_boolean ("is-expanded",
-                                                        P_("Is Expanded"),
-                                                        P_("Row is an expander row, and is expanded"),
+                                  g_param_spec_boolean ("is-expanded", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_property (object_class,
                                   PROP_CELL_BACKGROUND,
-                                  g_param_spec_string ("cell-background",
-                                                       P_("Cell background color name"),
-                                                       P_("Cell background color as a string"),
+                                  g_param_spec_string ("cell-background", NULL, NULL,
                                                        NULL,
                                                        GTK_PARAM_WRITABLE));
 
@@ -391,26 +367,20 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
    */
   g_object_class_install_property (object_class,
                                   PROP_CELL_BACKGROUND_RGBA,
-                                  g_param_spec_boxed ("cell-background-rgba",
-                                                      P_("Cell background RGBA color"),
-                                                      P_("Cell background color as a GdkRGBA"),
+                                  g_param_spec_boxed ("cell-background-rgba", NULL, NULL,
                                                       GDK_TYPE_RGBA,
                                                       GTK_PARAM_READWRITE));
 
   g_object_class_install_property (object_class,
                                   PROP_EDITING,
-                                  g_param_spec_boolean ("editing",
-                                                        P_("Editing"),
-                                                        P_("Whether the cell renderer is currently in editing mode"),
+                                  g_param_spec_boolean ("editing", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READABLE));
 
 
 #define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (object_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY))
 
-  ADD_SET_PROP ("cell-background-set", PROP_CELL_BACKGROUND_SET,
-                P_("Cell background set"),
-                P_("Whether the cell background color is set"));
+  ADD_SET_PROP ("cell-background-set", PROP_CELL_BACKGROUND_SET, NULL, NULL);
 
   if (GtkCellRenderer_private_offset != 0)
     g_type_class_adjust_private_offset (class, &GtkCellRenderer_private_offset);
index c4762ad798a8ad93e7b0042ecb19af060e6391ab..911b407672279ac1a3aa5b224edc327d99f38f2a 100644 (file)
@@ -171,9 +171,7 @@ gtk_cell_renderer_accel_class_init (GtkCellRendererAccelClass *cell_accel_class)
    */
   g_object_class_install_property (object_class,
                                    PROP_ACCEL_KEY,
-                                   g_param_spec_uint ("accel-key",
-                                                     P_("Accelerator key"),
-                                                     P_("The keyval of the accelerator"),
+                                   g_param_spec_uint ("accel-key", NULL, NULL,
                                                       0,
                                                       G_MAXINT,
                                                       0,
@@ -186,9 +184,7 @@ gtk_cell_renderer_accel_class_init (GtkCellRendererAccelClass *cell_accel_class)
    */
   g_object_class_install_property (object_class,
                                    PROP_ACCEL_MODS,
-                                   g_param_spec_flags ("accel-mods",
-                                                       P_("Accelerator modifiers"),
-                                                       P_("The modifier mask of the accelerator"),
+                                   g_param_spec_flags ("accel-mods", NULL, NULL,
                                                        GDK_TYPE_MODIFIER_TYPE,
                                                        0,
                                                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
@@ -202,9 +198,7 @@ gtk_cell_renderer_accel_class_init (GtkCellRendererAccelClass *cell_accel_class)
    */ 
   g_object_class_install_property (object_class,
                                    PROP_KEYCODE,
-                                   g_param_spec_uint ("keycode",
-                                                      P_("Accelerator keycode"),
-                                                      P_("The hardware keycode of the accelerator"),
+                                   g_param_spec_uint ("keycode", NULL, NULL,
                                                       0,
                                                       G_MAXINT,
                                                       0,
@@ -220,9 +214,7 @@ gtk_cell_renderer_accel_class_init (GtkCellRendererAccelClass *cell_accel_class)
    */
   g_object_class_install_property (object_class,
                                    PROP_ACCEL_MODE,
-                                   g_param_spec_enum ("accel-mode",
-                                                      P_("Accelerator Mode"),
-                                                      P_("The type of accelerators"),
+                                   g_param_spec_enum ("accel-mode", NULL, NULL,
                                                       GTK_TYPE_CELL_RENDERER_ACCEL_MODE,
                                                       GTK_CELL_RENDERER_ACCEL_MODE_GTK,
                                                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
index d902da5f31cad54940aec80751cc8f464362bb65..1cad6653fd1b175f1abb2cd27a1135e06177ebbb 100644 (file)
@@ -130,9 +130,7 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass)
    */
   g_object_class_install_property (object_class,
                                   PROP_MODEL,
-                                  g_param_spec_object ("model",
-                                                       P_("Model"),
-                                                       P_("The model containing the possible values for the combo box"),
+                                  g_param_spec_object ("model", NULL, NULL,
                                                        GTK_TYPE_TREE_MODEL,
                                                        GTK_PARAM_READWRITE));
 
@@ -151,9 +149,7 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_TEXT_COLUMN,
-                                   g_param_spec_int ("text-column",
-                                                     P_("Text Column"),
-                                                     P_("A column in the data source model to get the strings from"),
+                                   g_param_spec_int ("text-column", NULL, NULL,
                                                      -1,
                                                      G_MAXINT,
                                                      -1,
@@ -167,9 +163,7 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_HAS_ENTRY,
-                                   g_param_spec_boolean ("has-entry",
-                                                        P_("Has Entry"),
-                                                        P_("If FALSE, don’t allow to enter strings other than the chosen ones"),
+                                   g_param_spec_boolean ("has-entry", NULL, NULL,
                                                         TRUE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index a90405458d67c02f32374fb9304f55fc571dfd0f..8c3f4c9161061b258d989e5ba051497a0aa480ac 100644 (file)
@@ -194,25 +194,19 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
 
   g_object_class_install_property (object_class,
                                   PROP_PIXBUF,
-                                  g_param_spec_object ("pixbuf",
-                                                       P_("Pixbuf Object"),
-                                                       P_("The pixbuf to render"),
+                                  g_param_spec_object ("pixbuf", NULL, NULL,
                                                        GDK_TYPE_PIXBUF,
                                                        GTK_PARAM_WRITABLE));
 
   g_object_class_install_property (object_class,
                                   PROP_PIXBUF_EXPANDER_OPEN,
-                                  g_param_spec_object ("pixbuf-expander-open",
-                                                       P_("Pixbuf Expander Open"),
-                                                       P_("Pixbuf for open expander"),
+                                  g_param_spec_object ("pixbuf-expander-open", NULL, NULL,
                                                        GDK_TYPE_PIXBUF,
                                                        GTK_PARAM_READWRITE));
 
   g_object_class_install_property (object_class,
                                   PROP_PIXBUF_EXPANDER_CLOSED,
-                                  g_param_spec_object ("pixbuf-expander-closed",
-                                                       P_("Pixbuf Expander Closed"),
-                                                       P_("Pixbuf for closed expander"),
+                                  g_param_spec_object ("pixbuf-expander-closed", NULL, NULL,
                                                        GDK_TYPE_PIXBUF,
                                                        GTK_PARAM_READWRITE));
 
@@ -221,9 +215,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
    */
   g_object_class_install_property (object_class,
                                   PROP_TEXTURE,
-                                  g_param_spec_object ("texture",
-                                                       P_("Texture"),
-                                                       P_("The texture to render"),
+                                  g_param_spec_object ("texture", NULL, NULL,
                                                         GDK_TYPE_TEXTURE,
                                                        GTK_PARAM_READWRITE));
 
@@ -234,9 +226,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
    */
   g_object_class_install_property (object_class,
                                   PROP_ICON_SIZE,
-                                  g_param_spec_enum ("icon-size",
-                                                     P_("Icon Size"),
-                                                     P_("The GtkIconSize value that specifies the size of the rendered icon"),
+                                  g_param_spec_enum ("icon-size", NULL, NULL,
                                                       GTK_TYPE_ICON_SIZE,
                                                      GTK_ICON_SIZE_INHERIT,
                                                      GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
@@ -249,9 +239,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
    */
   g_object_class_install_property (object_class,
                                   PROP_ICON_NAME,
-                                  g_param_spec_string ("icon-name",
-                                                       P_("Icon Name"),
-                                                       P_("The name of the icon from the icon theme"),
+                                  g_param_spec_string ("icon-name", NULL, NULL,
                                                        NULL,
                                                        GTK_PARAM_READWRITE));
 
@@ -264,9 +252,7 @@ gtk_cell_renderer_pixbuf_class_init (GtkCellRendererPixbufClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_GICON,
-                                   g_param_spec_object ("gicon",
-                                                        P_("Icon"),
-                                                        P_("The GIcon being displayed"),
+                                   g_param_spec_object ("gicon", NULL, NULL,
                                                         G_TYPE_ICON,
                                                         GTK_PARAM_READWRITE));
 }
index 8139a3b05849cbc7fbfdbd1410f06f911f386b7d..a836abe0935545d8033e8f43456203b27892a256 100644 (file)
@@ -617,9 +617,7 @@ gtk_cell_renderer_progress_class_init (GtkCellRendererProgressClass *klass)
    **/
   g_object_class_install_property (object_class,
                                   PROP_VALUE,
-                                  g_param_spec_int ("value",
-                                                    P_("Value"),
-                                                    P_("Value of the progress bar"),
+                                  g_param_spec_int ("value", NULL, NULL,
                                                     0, 100, 0,
                                                     GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -633,9 +631,7 @@ gtk_cell_renderer_progress_class_init (GtkCellRendererProgressClass *klass)
    **/
   g_object_class_install_property (object_class,
                                   PROP_TEXT,
-                                  g_param_spec_string ("text",
-                                                       P_("Text"),
-                                                       P_("Text on the progress bar"),
+                                  g_param_spec_string ("text", NULL, NULL,
                                                        NULL,
                                                        GTK_PARAM_READWRITE));
 
@@ -655,9 +651,7 @@ gtk_cell_renderer_progress_class_init (GtkCellRendererProgressClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_PULSE,
-                                   g_param_spec_int ("pulse",
-                                                     P_("Pulse"),
-                                                     P_("Set this to positive values to indicate that some progress is made, but you don’t know how much."),
+                                   g_param_spec_int ("pulse", NULL, NULL,
                                                      -1, G_MAXINT, -1,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -670,9 +664,7 @@ gtk_cell_renderer_progress_class_init (GtkCellRendererProgressClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_TEXT_XALIGN,
-                                   g_param_spec_float ("text-xalign",
-                                                       P_("Text x alignment"),
-                                                       P_("The horizontal text alignment, from 0 (left) to 1 (right). Reversed for RTL layouts."),
+                                   g_param_spec_float ("text-xalign", NULL, NULL,
                                                        0.0, 1.0, 0.5,
                                                        GTK_PARAM_READWRITE));
 
@@ -685,9 +677,7 @@ gtk_cell_renderer_progress_class_init (GtkCellRendererProgressClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_TEXT_YALIGN,
-                                   g_param_spec_float ("text-yalign",
-                                                       P_("Text y alignment"),
-                                                       P_("The vertical text alignment, from 0 (top) to 1 (bottom)."),
+                                   g_param_spec_float ("text-yalign", NULL, NULL,
                                                        0.0, 1.0, 0.5,
                                                        GTK_PARAM_READWRITE));
 
@@ -697,9 +687,7 @@ gtk_cell_renderer_progress_class_init (GtkCellRendererProgressClass *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_INVERTED,
-                                   g_param_spec_boolean ("inverted",
-                                                         P_("Inverted"),
-                                                         P_("Invert the direction in which the progress bar grows"),
+                                   g_param_spec_boolean ("inverted", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 }
index 5636abbd4197c739b2297f06968c50615da99884..6b4cbeaefd06fc5b7edd0e5d40e6bb6dbba7c474 100644 (file)
@@ -127,9 +127,7 @@ gtk_cell_renderer_spin_class_init (GtkCellRendererSpinClass *klass)
    */
   g_object_class_install_property (object_class,
                                   PROP_ADJUSTMENT,
-                                  g_param_spec_object ("adjustment",
-                                                       P_("Adjustment"),
-                                                       P_("The adjustment that holds the value of the spin button"),
+                                  g_param_spec_object ("adjustment", NULL, NULL,
                                                        GTK_TYPE_ADJUSTMENT,
                                                        GTK_PARAM_READWRITE));
 
@@ -141,9 +139,7 @@ gtk_cell_renderer_spin_class_init (GtkCellRendererSpinClass *klass)
    */
   g_object_class_install_property (object_class,
                                   PROP_CLIMB_RATE,
-                                  g_param_spec_double ("climb-rate",
-                                                       P_("Climb rate"),
-                                                       P_("The acceleration rate when you hold down a button"),
+                                  g_param_spec_double ("climb-rate", NULL, NULL,
                                                        0.0, G_MAXDOUBLE, 0.0,
                                                        GTK_PARAM_READWRITE));  
   /**
@@ -153,9 +149,7 @@ gtk_cell_renderer_spin_class_init (GtkCellRendererSpinClass *klass)
    */
   g_object_class_install_property (object_class,
                                   PROP_DIGITS,
-                                  g_param_spec_uint ("digits",
-                                                     P_("Digits"),
-                                                     P_("The number of decimal places to display"),
+                                  g_param_spec_uint ("digits", NULL, NULL,
                                                      0, 20, 0,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY)); 
 }
index a92488919fc0ca302942603fe07043f13c5e79d2..52559f83a09fb6f33a1a679dc618d55e638baa4d 100644 (file)
@@ -177,9 +177,7 @@ gtk_cell_renderer_spinner_class_init (GtkCellRendererSpinnerClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_ACTIVE,
-                                   g_param_spec_boolean ("active",
-                                                         P_("Active"),
-                                                         P_("Whether the spinner is active (ie. shown) in the cell"),
+                                   g_param_spec_boolean ("active", NULL, NULL,
                                                          FALSE,
                                                          G_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -194,9 +192,7 @@ gtk_cell_renderer_spinner_class_init (GtkCellRendererSpinnerClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_PULSE,
-                                   g_param_spec_uint ("pulse",
-                                                      P_("Pulse"),
-                                                      P_("Pulse of the spinner"),
+                                   g_param_spec_uint ("pulse", NULL, NULL,
                                                       0, G_MAXUINT, 0,
                                                       G_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -207,9 +203,7 @@ gtk_cell_renderer_spinner_class_init (GtkCellRendererSpinnerClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_SIZE,
-                                   g_param_spec_enum ("size",
-                                                      P_("Size"),
-                                                      P_("The GtkIconSize value that specifies the size of the rendered spinner"),
+                                   g_param_spec_enum ("size", NULL, NULL,
                                                       GTK_TYPE_ICON_SIZE, GTK_ICON_SIZE_INHERIT,
                                                       G_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index a7f347d72d38a775c9a6a40404929d18283b1887..2b673e963ed9ff81236e29f3351c2a4ecb49ca44 100644 (file)
@@ -249,37 +249,27 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
   cell_class->get_aligned_area = gtk_cell_renderer_text_get_aligned_area;
 
   text_cell_renderer_props[PROP_TEXT] =
-      g_param_spec_string ("text",
-                           P_("Text"),
-                           P_("Text to render"),
+      g_param_spec_string ("text", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_MARKUP] =
-      g_param_spec_string ("markup",
-                           P_("Markup"),
-                           P_("Marked up text to render"),
+      g_param_spec_string ("markup", NULL, NULL,
                            NULL,
                            GTK_PARAM_WRITABLE);
 
   text_cell_renderer_props[PROP_ATTRIBUTES] =
-      g_param_spec_boxed ("attributes",
-                          P_("Attributes"),
-                          P_("A list of style attributes to apply to the text of the renderer"),
+      g_param_spec_boxed ("attributes", NULL, NULL,
                           PANGO_TYPE_ATTR_LIST,
                           GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_SINGLE_PARAGRAPH_MODE] =
-      g_param_spec_boolean ("single-paragraph-mode",
-                            P_("Single Paragraph Mode"),
-                            P_("Whether to keep all text in a single paragraph"),
+      g_param_spec_boolean ("single-paragraph-mode", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   text_cell_renderer_props[PROP_BACKGROUND] =
-      g_param_spec_string ("background",
-                           P_("Background color name"),
-                           P_("Background color as a string"),
+      g_param_spec_string ("background", NULL, NULL,
                            NULL,
                            GTK_PARAM_WRITABLE);
 
@@ -289,15 +279,11 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
    * Background color as a `GdkRGBA`
    */
   text_cell_renderer_props[PROP_BACKGROUND_RGBA] =
-      g_param_spec_boxed ("background-rgba",
-                          P_("Background color as RGBA"),
-                          P_("Background color as a GdkRGBA"),
+      g_param_spec_boxed ("background-rgba", NULL, NULL,
                           GDK_TYPE_RGBA,
                           GTK_PARAM_READWRITE);
   text_cell_renderer_props[PROP_FOREGROUND] =
-      g_param_spec_string ("foreground",
-                           P_("Foreground color name"),
-                           P_("Foreground color as a string"),
+      g_param_spec_string ("foreground", NULL, NULL,
                            NULL,
                            GTK_PARAM_WRITABLE);
 
@@ -307,127 +293,93 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
    * Foreground color as a `GdkRGBA`
    */
   text_cell_renderer_props[PROP_FOREGROUND_RGBA] =
-      g_param_spec_boxed ("foreground-rgba",
-                          P_("Foreground color as RGBA"),
-                          P_("Foreground color as a GdkRGBA"),
+      g_param_spec_boxed ("foreground-rgba", NULL, NULL,
                           GDK_TYPE_RGBA,
                           GTK_PARAM_READWRITE);
 
 
   text_cell_renderer_props[PROP_EDITABLE] =
-      g_param_spec_boolean ("editable",
-                            P_("Editable"),
-                            P_("Whether the text can be modified by the user"),
+      g_param_spec_boolean ("editable", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_FONT] =
-      g_param_spec_string ("font",
-                           P_("Font"),
-                           P_("Font description as a string, e.g. “Sans Italic 12”"),
+      g_param_spec_string ("font", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_FONT_DESC] =
-      g_param_spec_boxed ("font-desc",
-                          P_("Font"),
-                          P_("Font description as a PangoFontDescription struct"),
+      g_param_spec_boxed ("font-desc", NULL, NULL,
                           PANGO_TYPE_FONT_DESCRIPTION,
                           GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_FAMILY] =
-      g_param_spec_string ("family",
-                           P_("Font family"),
-                           P_("Name of the font family, e.g. Sans, Helvetica, Times, Monospace"),
+      g_param_spec_string ("family", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_STYLE] =
-      g_param_spec_enum ("style",
-                         P_("Font style"),
-                         P_("Font style"),
+      g_param_spec_enum ("style", NULL, NULL,
                          PANGO_TYPE_STYLE,
                          PANGO_STYLE_NORMAL,
                          GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_VARIANT] =
-      g_param_spec_enum ("variant",
-                         P_("Font variant"),
-                         P_("Font variant"),
+      g_param_spec_enum ("variant", NULL, NULL,
                          PANGO_TYPE_VARIANT,
                          PANGO_VARIANT_NORMAL,
                          GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_WEIGHT] =
-      g_param_spec_int ("weight",
-                        P_("Font weight"),
-                        P_("Font weight"),
+      g_param_spec_int ("weight", NULL, NULL,
                         0, G_MAXINT,
                         PANGO_WEIGHT_NORMAL,
                         GTK_PARAM_READWRITE);
 
    text_cell_renderer_props[PROP_STRETCH] =
-       g_param_spec_enum ("stretch",
-                          P_("Font stretch"),
-                          P_("Font stretch"),
+       g_param_spec_enum ("stretch", NULL, NULL,
                           PANGO_TYPE_STRETCH,
                           PANGO_STRETCH_NORMAL,
                           GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_SIZE] =
-      g_param_spec_int ("size",
-                        P_("Font size"),
-                        P_("Font size"),
+      g_param_spec_int ("size", NULL, NULL,
                         0, G_MAXINT,
                         0,
                         GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_SIZE_POINTS] =
-      g_param_spec_double ("size-points",
-                           P_("Font points"),
-                           P_("Font size in points"),
+      g_param_spec_double ("size-points", NULL, NULL,
                            0.0, G_MAXDOUBLE,
                            0.0,
                            GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_SCALE] =
-      g_param_spec_double ("scale",
-                           P_("Font scale"),
-                           P_("Font scaling factor"),
+      g_param_spec_double ("scale", NULL, NULL,
                            0.0, G_MAXDOUBLE,
                            1.0,
                            GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_RISE] =
-      g_param_spec_int ("rise",
-                        P_("Rise"),
-                        P_("Offset of text above the baseline (below the baseline if rise is negative)"),
+      g_param_spec_int ("rise", NULL, NULL,
                         -G_MAXINT, G_MAXINT,
                         0,
                         GTK_PARAM_READWRITE);
 
 
   text_cell_renderer_props[PROP_STRIKETHROUGH] =
-      g_param_spec_boolean ("strikethrough",
-                            P_("Strikethrough"),
-                            P_("Whether to strike through the text"),
+      g_param_spec_boolean ("strikethrough", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_UNDERLINE] =
-      g_param_spec_enum ("underline",
-                         P_("Underline"),
-                         P_("Style of underline for this text"),
+      g_param_spec_enum ("underline", NULL, NULL,
                          PANGO_TYPE_UNDERLINE,
                          PANGO_UNDERLINE_NONE,
                          GTK_PARAM_READWRITE);
 
   text_cell_renderer_props[PROP_LANGUAGE] =
-      g_param_spec_string ("language",
-                           P_("Language"),
-                           P_("The language this text is in, as an ISO code. "
-                              "Pango can use this as a hint when rendering the text. "
-                              "If you don’t understand this parameter, you probably don’t need it"),
+      g_param_spec_string ("language", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
@@ -440,11 +392,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
    * for another way of making the text fit into a given width.
    */
   text_cell_renderer_props[PROP_ELLIPSIZE] =
-      g_param_spec_enum ("ellipsize",
-                         P_("Ellipsize"),
-                         P_("The preferred place to ellipsize the string, "
-                            "if the cell renderer does not have enough room "
-                            "to display the entire string"),
+      g_param_spec_enum ("ellipsize", NULL, NULL,
                          PANGO_TYPE_ELLIPSIZE_MODE,
                          PANGO_ELLIPSIZE_NONE,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -457,9 +405,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
    * request either 3 characters or the property value, whichever is greater.
    **/
   text_cell_renderer_props[PROP_WIDTH_CHARS] =
-      g_param_spec_int ("width-chars",
-                        P_("Width In Characters"),
-                        P_("The desired width of the label, in characters"),
+      g_param_spec_int ("width-chars", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -477,9 +423,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
    * have received their natural width.
    **/
   text_cell_renderer_props[PROP_MAX_WIDTH_CHARS] =
-      g_param_spec_int ("max-width-chars",
-                        P_("Maximum Width In Characters"),
-                        P_("The maximum width of the cell, in characters"),
+      g_param_spec_int ("max-width-chars", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -492,11 +436,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
    * This property has no effect unless the wrap-width property is set.
    */
   text_cell_renderer_props[PROP_WRAP_MODE] =
-      g_param_spec_enum ("wrap-mode",
-                         P_("Wrap mode"),
-                         P_("How to break the string into multiple lines, "
-                            "if the cell renderer does not have enough room "
-                            "to display the entire string"),
+      g_param_spec_enum ("wrap-mode", NULL, NULL,
                          PANGO_TYPE_WRAP_MODE,
                          PANGO_WRAP_CHAR,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -509,9 +449,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
    * Setting wrap-width to -1 turns wrapping off.
    */
   text_cell_renderer_props[PROP_WRAP_WIDTH] =
-      g_param_spec_int ("wrap-width",
-                        P_("Wrap width"),
-                        P_("The width at which the text is wrapped"),
+      g_param_spec_int ("wrap-width", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -526,9 +464,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
    * on the other hand, sets the horizontal alignment of the whole text.
    */
   text_cell_renderer_props[PROP_ALIGN] =
-      g_param_spec_enum ("alignment",
-                         P_("Alignment"),
-                         P_("How to align the lines"),
+      g_param_spec_enum ("alignment", NULL, NULL,
                          PANGO_TYPE_ALIGNMENT,
                          PANGO_ALIGN_LEFT,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -540,9 +476,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
    * `GtkCellRendererText:editable` is %TRUE and the cell is empty.
    */
   text_cell_renderer_props[PROP_PLACEHOLDER_TEXT] =
-      g_param_spec_string ("placeholder-text",
-                           P_("Placeholder text"),
-                           P_("Text rendered when an editable cell is empty"),
+      g_param_spec_string ("placeholder-text", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
@@ -550,69 +484,37 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
 
 #define ADD_SET_PROP(propname, propval, nick, blurb) text_cell_renderer_props[propval] = g_param_spec_boolean (propname, nick, blurb, FALSE, GTK_PARAM_READWRITE)
 
-  ADD_SET_PROP ("background-set", PROP_BACKGROUND_SET,
-                P_("Background set"),
-                P_("Whether this tag affects the background color"));
+  ADD_SET_PROP ("background-set", PROP_BACKGROUND_SET, NULL, NULL);
 
-  ADD_SET_PROP ("foreground-set", PROP_FOREGROUND_SET,
-                P_("Foreground set"),
-                P_("Whether this tag affects the foreground color"));
+  ADD_SET_PROP ("foreground-set", PROP_FOREGROUND_SET, NULL, NULL);
 
-  ADD_SET_PROP ("editable-set", PROP_EDITABLE_SET,
-                P_("Editability set"),
-                P_("Whether this tag affects text editability"));
+  ADD_SET_PROP ("editable-set", PROP_EDITABLE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("family-set", PROP_FAMILY_SET,
-                P_("Font family set"),
-                P_("Whether this tag affects the font family"));
+  ADD_SET_PROP ("family-set", PROP_FAMILY_SET, NULL, NULL);
 
-  ADD_SET_PROP ("style-set", PROP_STYLE_SET,
-                P_("Font style set"),
-                P_("Whether this tag affects the font style"));
+  ADD_SET_PROP ("style-set", PROP_STYLE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("variant-set", PROP_VARIANT_SET,
-                P_("Font variant set"),
-                P_("Whether this tag affects the font variant"));
+  ADD_SET_PROP ("variant-set", PROP_VARIANT_SET, NULL, NULL);
 
-  ADD_SET_PROP ("weight-set", PROP_WEIGHT_SET,
-                P_("Font weight set"),
-                P_("Whether this tag affects the font weight"));
+  ADD_SET_PROP ("weight-set", PROP_WEIGHT_SET, NULL, NULL);
 
-  ADD_SET_PROP ("stretch-set", PROP_STRETCH_SET,
-                P_("Font stretch set"),
-                P_("Whether this tag affects the font stretch"));
+  ADD_SET_PROP ("stretch-set", PROP_STRETCH_SET, NULL, NULL);
 
-  ADD_SET_PROP ("size-set", PROP_SIZE_SET,
-                P_("Font size set"),
-                P_("Whether this tag affects the font size"));
+  ADD_SET_PROP ("size-set", PROP_SIZE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("scale-set", PROP_SCALE_SET,
-                P_("Font scale set"),
-                P_("Whether this tag scales the font size by a factor"));
+  ADD_SET_PROP ("scale-set", PROP_SCALE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("rise-set", PROP_RISE_SET,
-                P_("Rise set"),
-                P_("Whether this tag affects the rise"));
+  ADD_SET_PROP ("rise-set", PROP_RISE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("strikethrough-set", PROP_STRIKETHROUGH_SET,
-                P_("Strikethrough set"),
-                P_("Whether this tag affects strikethrough"));
+  ADD_SET_PROP ("strikethrough-set", PROP_STRIKETHROUGH_SET, NULL, NULL);
 
-  ADD_SET_PROP ("underline-set", PROP_UNDERLINE_SET,
-                P_("Underline set"),
-                P_("Whether this tag affects underlining"));
+  ADD_SET_PROP ("underline-set", PROP_UNDERLINE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("language-set", PROP_LANGUAGE_SET,
-                P_("Language set"),
-                P_("Whether this tag affects the language the text is rendered as"));
+  ADD_SET_PROP ("language-set", PROP_LANGUAGE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("ellipsize-set", PROP_ELLIPSIZE_SET,
-                P_("Ellipsize set"),
-                P_("Whether this tag affects the ellipsize mode"));
+  ADD_SET_PROP ("ellipsize-set", PROP_ELLIPSIZE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("align-set", PROP_ALIGN_SET,
-                P_("Align set"),
-                P_("Whether this tag affects the alignment mode"));
+  ADD_SET_PROP ("align-set", PROP_ALIGN_SET, NULL, NULL);
 
   g_object_class_install_properties (object_class, LAST_PROP, text_cell_renderer_props);
 
index 3f2f7e15567e0c0ecc900a342c10f4c35cb7c49b..2a4c9669a9ceac3d945e494d7c356ba463f4cb6c 100644 (file)
@@ -192,33 +192,25 @@ gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class)
   
   g_object_class_install_property (object_class,
                                   PROP_ACTIVE,
-                                  g_param_spec_boolean ("active",
-                                                        P_("Toggle state"),
-                                                        P_("The toggle state of the button"),
+                                  g_param_spec_boolean ("active", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_property (object_class,
                                   PROP_INCONSISTENT,
-                                  g_param_spec_boolean ("inconsistent",
-                                                        P_("Inconsistent state"),
-                                                        P_("The inconsistent state of the button"),
+                                  g_param_spec_boolean ("inconsistent", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   
   g_object_class_install_property (object_class,
                                   PROP_ACTIVATABLE,
-                                  g_param_spec_boolean ("activatable",
-                                                        P_("Activatable"),
-                                                        P_("The toggle button can be activated"),
+                                  g_param_spec_boolean ("activatable", NULL, NULL,
                                                         TRUE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_property (object_class,
                                   PROP_RADIO,
-                                  g_param_spec_boolean ("radio",
-                                                        P_("Radio state"),
-                                                        P_("Draw the toggle button as a radio button"),
+                                  g_param_spec_boolean ("radio", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index 78866addda051c866136211e0e2bb32991a6e3a5..60860c3293397b13fe94192b800d8a0182b44948 100644 (file)
@@ -195,9 +195,7 @@ gtk_cell_view_class_init (GtkCellViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_MODEL,
-                                  g_param_spec_object  ("model",
-                                                        P_("CellView model"),
-                                                        P_("The model for cell view"),
+                                  g_param_spec_object  ("model", NULL, NULL,
                                                         GTK_TYPE_TREE_MODEL,
                                                         GTK_PARAM_READWRITE));
 
@@ -214,9 +212,7 @@ gtk_cell_view_class_init (GtkCellViewClass *klass)
    */
    g_object_class_install_property (gobject_class,
                                     PROP_CELL_AREA,
-                                    g_param_spec_object ("cell-area",
-                                                        P_("Cell Area"),
-                                                        P_("The GtkCellArea used to layout cells"),
+                                    g_param_spec_object ("cell-area", NULL, NULL,
                                                         GTK_TYPE_CELL_AREA,
                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -238,10 +234,7 @@ gtk_cell_view_class_init (GtkCellViewClass *klass)
    */
    g_object_class_install_property (gobject_class,
                                     PROP_CELL_AREA_CONTEXT,
-                                    g_param_spec_object ("cell-area-context",
-                                                        P_("Cell Area Context"),
-                                                        P_("The GtkCellAreaContext used to "
-                                                           "compute the geometry of the cell view"),
+                                    g_param_spec_object ("cell-area-context", NULL, NULL,
                                                         GTK_TYPE_CELL_AREA_CONTEXT,
                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -256,10 +249,7 @@ gtk_cell_view_class_init (GtkCellViewClass *klass)
    */
    g_object_class_install_property (gobject_class,
                                     PROP_DRAW_SENSITIVE,
-                                    g_param_spec_boolean ("draw-sensitive",
-                                                         P_("Draw Sensitive"),
-                                                         P_("Whether to force cells to be drawn in a "
-                                                            "sensitive state"),
+                                    g_param_spec_boolean ("draw-sensitive", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -275,10 +265,7 @@ gtk_cell_view_class_init (GtkCellViewClass *klass)
    */
    g_object_class_install_property (gobject_class,
                                     PROP_FIT_MODEL,
-                                    g_param_spec_boolean ("fit-model",
-                                                         P_("Fit Model"),
-                                                         P_("Whether to request enough space for "
-                                                            "every row in the model"),
+                                    g_param_spec_boolean ("fit-model", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index 8319acc667c04cadf76314d2df1b0d93d48e32df..6b7046f356811a0ed86be1aef29585a19684f979 100644 (file)
@@ -208,9 +208,7 @@ gtk_center_box_class_init (GtkCenterBoxClass *klass)
    * The position of the baseline aligned widget if extra space is available.
    */
   g_object_class_install_property (object_class, PROP_BASELINE_POSITION,
-          g_param_spec_enum ("baseline-position",
-                             P_("Baseline position"),
-                             P_("The position of the baseline aligned widgets if extra space is available"),
+          g_param_spec_enum ("baseline-position", NULL, NULL,
                              GTK_TYPE_BASELINE_POSITION,
                              GTK_BASELINE_POSITION_CENTER,
                              GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
index d304fae93c0175c838a77d40390fd13a8a0453d2..c97fa815e15b445068d96964b436d50e73fd2fea 100644 (file)
@@ -578,9 +578,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
    * the check button and the indicator CSS node.
    */
   props[PROP_ACTIVE] =
-      g_param_spec_boolean ("active",
-                            P_("Active"),
-                            P_("If the toggle button should be pressed in"),
+      g_param_spec_boolean ("active", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -590,9 +588,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
    * The check button whose group this widget belongs to.
    */
   props[PROP_GROUP] =
-      g_param_spec_object ("group",
-                           P_("Group"),
-                           P_("The check button whose group this widget belongs to."),
+      g_param_spec_object ("group", NULL, NULL,
                            GTK_TYPE_CHECK_BUTTON,
                            GTK_PARAM_WRITABLE);
 
@@ -602,9 +598,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
    * Text of the label inside the check button, if it contains a label widget.
    */
   props[PROP_LABEL] =
-    g_param_spec_string ("label",
-                         P_("Label"),
-                         P_("Text of the label widget inside the button, if the button contains a label widget"),
+    g_param_spec_string ("label", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -617,9 +611,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
    * not the semantics of the button.
    */
   props[PROP_INCONSISTENT] =
-      g_param_spec_boolean ("inconsistent",
-                            P_("Inconsistent"),
-                            P_("If the check button is in an “in between” state"),
+      g_param_spec_boolean ("inconsistent", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -630,9 +622,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
    * character is to be used as mnemonic.
    */
   props[PROP_USE_UNDERLINE] =
-      g_param_spec_boolean ("use-underline",
-                            P_("Use underline"),
-                            P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
+      g_param_spec_boolean ("use-underline", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -644,9 +634,7 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
    * Since: 4.8
    */
   props[PROP_CHILD] =
-      g_param_spec_object ("child",
-                           P_("Child"),
-                           P_("The child widget"),
+      g_param_spec_object ("child", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index 71289e3433aa1176c7d67407b1419f73703edb9a..bb00ab50bbc6b9912619ea89b4c59aa084e0c2c5 100644 (file)
@@ -175,9 +175,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_TITLE,
-                                   g_param_spec_string ("title",
-                                                        P_("Title"),
-                                                        P_("The title of the color selection dialog"),
+                                   g_param_spec_string ("title", NULL, NULL,
                                                         _("Pick a Color"),
                                                         GTK_PARAM_READWRITE));
 
@@ -236,8 +234,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SHOW_EDITOR,
-                                   g_param_spec_boolean ("show-editor", P_("Show Editor"),
-                                                         P_("Whether to show the color editor right away"),
+                                   g_param_spec_boolean ("show-editor", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -248,8 +245,7 @@ gtk_color_button_class_init (GtkColorButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_MODAL,
-                                   g_param_spec_boolean ("modal", P_("Modal"),
-                                                         P_("Whether the dialog is modal"),
+                                   g_param_spec_boolean ("modal", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index f8b9c9c774261a521be42d86d5984ab52224c284..b11a673b415307ff3f173abe794b18148c3c349a 100644 (file)
@@ -61,9 +61,7 @@ gtk_color_chooser_default_init (GtkColorChooserInterface *iface)
    * programmatically.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_boxed ("rgba",
-                          P_("Color"),
-                          P_("Current color, as a GdkRGBA"),
+      g_param_spec_boxed ("rgba", NULL, NULL,
                           GDK_TYPE_RGBA,
                           GTK_PARAM_READWRITE));
 
@@ -80,9 +78,7 @@ gtk_color_chooser_default_init (GtkColorChooserInterface *iface)
    * over a non-uniform background (like a checkerboard pattern).
    */
   g_object_interface_install_property (iface,
-      g_param_spec_boolean ("use-alpha",
-                            P_("Use alpha"),
-                            P_("Whether alpha should be shown"),
+      g_param_spec_boolean ("use-alpha", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index 66a9df24a58c01dbb2737df8e72b2e1735bc03c2..3ea3fdba7912017393bff49c8025b5e5744f9600 100644 (file)
@@ -223,7 +223,7 @@ gtk_color_chooser_dialog_class_init (GtkColorChooserDialogClass *class)
   g_object_class_override_property (object_class, PROP_RGBA, "rgba");
   g_object_class_override_property (object_class, PROP_USE_ALPHA, "use-alpha");
   g_object_class_install_property (object_class, PROP_SHOW_EDITOR,
-      g_param_spec_boolean ("show-editor", P_("Show editor"), P_("Show editor"),
+      g_param_spec_boolean ("show-editor", NULL, NULL,
                             FALSE, GTK_PARAM_READWRITE));
 
   /* Bind class to template
index afc2a7741152af1d4c36c3a4586079f3f2d66aa3..3f1c3fee475f27be88482639ffb2af90010fcbc9 100644 (file)
@@ -718,7 +718,7 @@ gtk_color_chooser_widget_class_init (GtkColorChooserWidgetClass *class)
    * It can be set to switch the color chooser into single-color editing mode.
    */
   g_object_class_install_property (object_class, PROP_SHOW_EDITOR,
-      g_param_spec_boolean ("show-editor", P_("Show editor"), P_("Show editor"),
+      g_param_spec_boolean ("show-editor", NULL, NULL,
                             FALSE, GTK_PARAM_READWRITE));
 
   gtk_widget_class_set_css_name (widget_class, I_("colorchooser"));
index a6fa75c795da3eea116a57fb1fd60519fbdfe020..93b9ff0594a40ec8bcb86efe42f413eb8cdaf007 100644 (file)
@@ -487,27 +487,21 @@ gtk_color_plane_class_init (GtkColorPlaneClass *class)
 
   g_object_class_install_property (object_class,
                                    PROP_H_ADJUSTMENT,
-                                   g_param_spec_object ("h-adjustment",
-                                                        "Hue Adjustment",
-                                                        "Hue Adjustment",
+                                   g_param_spec_object ("h-adjustment", NULL, NULL,
                                                         GTK_TYPE_ADJUSTMENT,
                                                         GTK_PARAM_WRITABLE |
                                                         G_PARAM_CONSTRUCT_ONLY));
 
   g_object_class_install_property (object_class,
                                    PROP_S_ADJUSTMENT,
-                                   g_param_spec_object ("s-adjustment",
-                                                        "Saturation Adjustment",
-                                                        "Saturation Adjustment",
+                                   g_param_spec_object ("s-adjustment", NULL, NULL,
                                                         GTK_TYPE_ADJUSTMENT,
                                                         GTK_PARAM_WRITABLE |
                                                         G_PARAM_CONSTRUCT_ONLY));
 
   g_object_class_install_property (object_class,
                                    PROP_V_ADJUSTMENT,
-                                   g_param_spec_object ("v-adjustment",
-                                                        "Value Adjustment",
-                                                        "Value Adjustment",
+                                   g_param_spec_object ("v-adjustment", NULL, NULL,
                                                         GTK_TYPE_ADJUSTMENT,
                                                         GTK_PARAM_WRITABLE |
                                                         G_PARAM_CONSTRUCT_ONLY));
index 334174274406fb9a51e3011e6f99beb5dc29f42c..824516aaef82b88b9c38515eeae8b7c7efe2842d 100644 (file)
@@ -283,7 +283,7 @@ gtk_color_scale_class_init (GtkColorScaleClass *class)
   object_class->set_property = scale_set_property;
 
   g_object_class_install_property (object_class, PROP_SCALE_TYPE,
-      g_param_spec_int ("scale-type", P_("Scale type"), P_("Scale type"),
+      g_param_spec_int ("scale-type", NULL, NULL,
                         0, 1, 0,
                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 }
index 533ff7fa26b766ea843b139723738d155a22154c..66b65946ccc2eeedf49a6bf2adf25904d522363d 100644 (file)
@@ -509,19 +509,19 @@ gtk_color_swatch_class_init (GtkColorSwatchClass *class)
   widget_class->state_flags_changed = swatch_state_flags_changed;
 
   g_object_class_install_property (object_class, PROP_RGBA,
-      g_param_spec_boxed ("rgba", P_("RGBA Color"), P_("Color as RGBA"),
+      g_param_spec_boxed ("rgba", NULL, NULL,
                           GDK_TYPE_RGBA, GTK_PARAM_READWRITE));
   g_object_class_install_property (object_class, PROP_SELECTABLE,
-      g_param_spec_boolean ("selectable", P_("Selectable"), P_("Whether the swatch is selectable"),
+      g_param_spec_boolean ("selectable", NULL, NULL,
                             TRUE, GTK_PARAM_READWRITE));
   g_object_class_install_property (object_class, PROP_HAS_MENU,
-      g_param_spec_boolean ("has-menu", P_("Has Menu"), P_("Whether the swatch should offer customization"),
+      g_param_spec_boolean ("has-menu", NULL, NULL,
                             TRUE, GTK_PARAM_READWRITE));
   g_object_class_install_property (object_class, PROP_CAN_DROP,
-      g_param_spec_boolean ("can-drop", P_("Can Drop"), P_("Whether the swatch should accept drops"),
+      g_param_spec_boolean ("can-drop", NULL, NULL,
                             FALSE, GTK_PARAM_READWRITE));
   g_object_class_install_property (object_class, PROP_CAN_DRAG,
-      g_param_spec_boolean ("can-drag", P_("Can Drag"), P_("Whether the swatch should allow drags"),
+      g_param_spec_boolean ("can-drag", NULL, NULL,
                             TRUE, GTK_PARAM_READWRITE));
 
   /**
index f475707155f1e54f476fb4210d06f3db66197cc3..d16a4373b08c7958f6a5857abb80a43eaf89e3de 100644 (file)
@@ -678,9 +678,7 @@ gtk_column_view_class_init (GtkColumnViewClass *klass)
    * The list of columns.
    */
   properties[PROP_COLUMNS] =
-    g_param_spec_object ("columns",
-                         P_("Columns"),
-                         P_("List of columns"),
+    g_param_spec_object ("columns", NULL, NULL,
                          G_TYPE_LIST_MODEL,
                          G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -690,9 +688,7 @@ gtk_column_view_class_init (GtkColumnViewClass *klass)
    * Model for the items displayed.
    */
   properties[PROP_MODEL] =
-    g_param_spec_object ("model",
-                         P_("Model"),
-                         P_("Model for the items displayed"),
+    g_param_spec_object ("model", NULL, NULL,
                          GTK_TYPE_SELECTION_MODEL,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -702,9 +698,7 @@ gtk_column_view_class_init (GtkColumnViewClass *klass)
    * Show separators between rows.
    */
   properties[PROP_SHOW_ROW_SEPARATORS] =
-    g_param_spec_boolean ("show-row-separators",
-                          P_("Show row separators"),
-                          P_("Show separators between rows"),
+    g_param_spec_boolean ("show-row-separators", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -714,9 +708,7 @@ gtk_column_view_class_init (GtkColumnViewClass *klass)
    * Show separators between columns.
    */
   properties[PROP_SHOW_COLUMN_SEPARATORS] =
-    g_param_spec_boolean ("show-column-separators",
-                          P_("Show column separators"),
-                          P_("Show separators between columns"),
+    g_param_spec_boolean ("show-column-separators", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -726,9 +718,7 @@ gtk_column_view_class_init (GtkColumnViewClass *klass)
    * Sorter with the sorting choices of the user.
    */
   properties[PROP_SORTER] =
-    g_param_spec_object ("sorter",
-                         P_("Sorter"),
-                         P_("Sorter with sorting choices of the user"),
+    g_param_spec_object ("sorter", NULL, NULL,
                          GTK_TYPE_SORTER,
                          G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -738,9 +728,7 @@ gtk_column_view_class_init (GtkColumnViewClass *klass)
    * Activate rows on single click and select them on hover.
    */
   properties[PROP_SINGLE_CLICK_ACTIVATE] =
-    g_param_spec_boolean ("single-click-activate",
-                          P_("Single click activate"),
-                          P_("Activate rows on single click"),
+    g_param_spec_boolean ("single-click-activate", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -750,9 +738,7 @@ gtk_column_view_class_init (GtkColumnViewClass *klass)
    * Whether columns are reorderable.
    */
   properties[PROP_REORDERABLE] =
-    g_param_spec_boolean ("reorderable",
-                          P_("Reorderable"),
-                          P_("Whether columns are reorderable"),
+    g_param_spec_boolean ("reorderable", NULL, NULL,
                           TRUE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -762,9 +748,7 @@ gtk_column_view_class_init (GtkColumnViewClass *klass)
    * Allow rubberband selection.
    */
   properties[PROP_ENABLE_RUBBERBAND] =
-    g_param_spec_boolean ("enable-rubberband",
-                          P_("Enable rubberband selection"),
-                          P_("Allow selecting items by dragging with the mouse"),
+    g_param_spec_boolean ("enable-rubberband", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 557b9debd4ffdfb2cae1c3a889926d7b4dc083f8..2876e92b0b38185ed8a8fab598e4fceadc01d6ae 100644 (file)
@@ -237,9 +237,7 @@ gtk_column_view_column_class_init (GtkColumnViewColumnClass *klass)
    * The `GtkColumnView` this column is a part of.
    */
   properties[PROP_COLUMN_VIEW] =
-    g_param_spec_object ("column-view",
-                         P_("Column view"),
-                         P_("Column view this column is a part of"),
+    g_param_spec_object ("column-view", NULL, NULL,
                          GTK_TYPE_COLUMN_VIEW,
                          G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -249,9 +247,7 @@ gtk_column_view_column_class_init (GtkColumnViewColumnClass *klass)
    * Factory for populating list items.
    */
   properties[PROP_FACTORY] =
-    g_param_spec_object ("factory",
-                         P_("Factory"),
-                         P_("Factory for populating list items"),
+    g_param_spec_object ("factory", NULL, NULL,
                          GTK_TYPE_LIST_ITEM_FACTORY,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -261,9 +257,7 @@ gtk_column_view_column_class_init (GtkColumnViewColumnClass *klass)
    * Title displayed in the header.
    */
   properties[PROP_TITLE] =
-    g_param_spec_string ("title",
-                          P_("Title"),
-                          P_("Title displayed in the header"),
+    g_param_spec_string ("title", NULL, NULL,
                           NULL,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -273,9 +267,7 @@ gtk_column_view_column_class_init (GtkColumnViewColumnClass *klass)
    * Sorter for sorting items according to this column.
    */
   properties[PROP_SORTER] =
-    g_param_spec_object ("sorter",
-                         P_("Sorter"),
-                         P_("Sorter for sorting items according to this column"),
+    g_param_spec_object ("sorter", NULL, NULL,
                          GTK_TYPE_SORTER,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -285,9 +277,7 @@ gtk_column_view_column_class_init (GtkColumnViewColumnClass *klass)
    * Whether this column is visible.
    */
   properties[PROP_VISIBLE] =
-    g_param_spec_boolean ("visible",
-                          P_("Visible"),
-                          P_("Whether this column is visible"),
+    g_param_spec_boolean ("visible", NULL, NULL,
                           TRUE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -297,9 +287,7 @@ gtk_column_view_column_class_init (GtkColumnViewColumnClass *klass)
    * Menu model used to create the context menu for the column header.
    */
   properties[PROP_HEADER_MENU] =
-    g_param_spec_object ("header-menu",
-                         P_("Header menu"),
-                         P_("Menu to use on the title of this column"),
+    g_param_spec_object ("header-menu", NULL, NULL,
                          G_TYPE_MENU_MODEL,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -309,9 +297,7 @@ gtk_column_view_column_class_init (GtkColumnViewColumnClass *klass)
    * Whether this column is resizable.
    */
   properties[PROP_RESIZABLE] =
-    g_param_spec_boolean ("resizable",
-                          P_("Resizable"),
-                          P_("Whether this column is resizable"),
+    g_param_spec_boolean ("resizable", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -321,9 +307,7 @@ gtk_column_view_column_class_init (GtkColumnViewColumnClass *klass)
    * Column gets share of extra width allocated to the view.
    */
   properties[PROP_EXPAND] =
-    g_param_spec_boolean ("expand",
-                          P_("Expand"),
-                          P_("column gets share of extra width"),
+    g_param_spec_boolean ("expand", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -334,9 +318,7 @@ gtk_column_view_column_class_init (GtkColumnViewColumnClass *klass)
    * regardless of the size of its content.
    */
   properties[PROP_FIXED_WIDTH] =
-    g_param_spec_int ("fixed-width",
-                      P_("Fixed width"),
-                      P_("Fixed width of this column"),
+    g_param_spec_int ("fixed-width", NULL, NULL,
                       -1, G_MAXINT, -1,
                       G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index c29896319eaa99c0f705fa4421f9b9bbdd0a5c2f..60209822e13598df9ec63f5ac72dd7745dddc4a7 100644 (file)
@@ -664,9 +664,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_MODEL,
-                                   g_param_spec_object ("model",
-                                                        P_("ComboBox model"),
-                                                        P_("The model for the combo box"),
+                                   g_param_spec_object ("model", NULL, NULL,
                                                         GTK_TYPE_TREE_MODEL,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -683,9 +681,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_ACTIVE,
-                                   g_param_spec_int ("active",
-                                                     P_("Active item"),
-                                                     P_("The item which is currently active"),
+                                   g_param_spec_int ("active", NULL, NULL,
                                                      -1,
                                                      G_MAXINT,
                                                      -1,
@@ -698,9 +694,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_HAS_FRAME,
-                                   g_param_spec_boolean ("has-frame",
-                                                         P_("Has Frame"),
-                                                         P_("Whether the combo box draws a frame around the child"),
+                                   g_param_spec_boolean ("has-frame", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -714,9 +708,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_POPUP_SHOWN,
-                                   g_param_spec_boolean ("popup-shown",
-                                                         P_("Popup shown"),
-                                                         P_("Whether the combo’s dropdown is shown"),
+                                   g_param_spec_boolean ("popup-shown", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READABLE));
 
@@ -729,9 +721,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
     */
    g_object_class_install_property (object_class,
                                     PROP_BUTTON_SENSITIVITY,
-                                    g_param_spec_enum ("button-sensitivity",
-                                                       P_("Button Sensitivity"),
-                                                       P_("Whether the dropdown button is sensitive when the model is empty"),
+                                    g_param_spec_enum ("button-sensitivity", NULL, NULL,
                                                        GTK_TYPE_SENSITIVITY_TYPE,
                                                        GTK_SENSITIVITY_AUTO,
                                                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
@@ -743,9 +733,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
     */
    g_object_class_install_property (object_class,
                                     PROP_HAS_ENTRY,
-                                    g_param_spec_boolean ("has-entry",
-                                                          P_("Has Entry"),
-                                                          P_("Whether combo box has an entry"),
+                                    g_param_spec_boolean ("has-entry", NULL, NULL,
                                                           FALSE,
                                                           GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY));
 
@@ -759,11 +747,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
     */
    g_object_class_install_property (object_class,
                                     PROP_ENTRY_TEXT_COLUMN,
-                                    g_param_spec_int ("entry-text-column",
-                                                      P_("Entry Text Column"),
-                                                      P_("The column in the combo box’s model to associate "
-                                                         "with strings from the entry if the combo was "
-                                                         "created with GtkComboBox:has-entry = %TRUE"),
+                                    g_param_spec_int ("entry-text-column", NULL, NULL,
                                                       -1, G_MAXINT, -1,
                                                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -775,10 +759,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
     */
    g_object_class_install_property (object_class,
                                     PROP_ID_COLUMN,
-                                    g_param_spec_int ("id-column",
-                                                      P_("ID Column"),
-                                                      P_("The column in the combo box’s model that provides "
-                                                      "string IDs for the values in the model"),
+                                    g_param_spec_int ("id-column", NULL, NULL,
                                                       -1, G_MAXINT, -1,
                                                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -789,10 +770,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
     */
    g_object_class_install_property (object_class,
                                     PROP_ACTIVE_ID,
-                                    g_param_spec_string ("active-id",
-                                                         P_("Active id"),
-                                                         P_("The value of the id column "
-                                                         "for the active row"),
+                                    g_param_spec_string ("active-id", NULL, NULL,
                                                          NULL,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -804,11 +782,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
     */
    g_object_class_install_property (object_class,
                                     PROP_POPUP_FIXED_WIDTH,
-                                    g_param_spec_boolean ("popup-fixed-width",
-                                                          P_("Popup Fixed Width"),
-                                                          P_("Whether the popup’s width should be a "
-                                                             "fixed width matching the allocated width "
-                                                             "of the combo box"),
+                                    g_param_spec_boolean ("popup-fixed-width", NULL, NULL,
                                                           TRUE,
                                                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -819,9 +793,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
     */
    g_object_class_install_property (object_class,
                                     PROP_CHILD,
-                                    g_param_spec_object ("child",
-                                                         P_("Child"),
-                                                         P_("The child_widget"),
+                                    g_param_spec_object ("child", NULL, NULL,
                                                          GTK_TYPE_WIDGET,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index b0fd0cceec4c9e29ef8f6175901183e9cc52eaca..48ba6f146ac2d36aa20d3fae6e57b0ce8626c6f7 100644 (file)
@@ -189,9 +189,7 @@ gtk_constraint_class_init (GtkConstraintClass *klass)
    *
    */
   obj_props[PROP_TARGET] =
-    g_param_spec_object ("target",
-                         P_("Target"),
-                         P_("The target of the constraint"),
+    g_param_spec_object ("target", NULL, NULL,
                          GTK_TYPE_CONSTRAINT_TARGET,
                          G_PARAM_READWRITE |
                          G_PARAM_STATIC_STRINGS |
@@ -203,9 +201,7 @@ gtk_constraint_class_init (GtkConstraintClass *klass)
    * The attribute of the [property@Gtk.Constraint:target] set by the constraint.
    */
   obj_props[PROP_TARGET_ATTRIBUTE] =
-    g_param_spec_enum ("target-attribute",
-                       P_("Target Attribute"),
-                       P_("The attribute of the target set by the constraint"),
+    g_param_spec_enum ("target-attribute", NULL, NULL,
                        GTK_TYPE_CONSTRAINT_ATTRIBUTE,
                        GTK_CONSTRAINT_ATTRIBUTE_NONE,
                        G_PARAM_READWRITE |
@@ -218,9 +214,7 @@ gtk_constraint_class_init (GtkConstraintClass *klass)
    * The order relation between the terms of the constraint.
    */
   obj_props[PROP_RELATION] =
-    g_param_spec_enum ("relation",
-                       P_("Relation"),
-                       P_("The relation between the source and target attributes"),
+    g_param_spec_enum ("relation", NULL, NULL,
                        GTK_TYPE_CONSTRAINT_RELATION,
                        GTK_CONSTRAINT_RELATION_EQ,
                        G_PARAM_READWRITE |
@@ -237,9 +231,7 @@ gtk_constraint_class_init (GtkConstraintClass *klass)
    * property of the source.
    */
   obj_props[PROP_SOURCE] =
-    g_param_spec_object ("source",
-                         P_("Source"),
-                         P_("The source of the constraint"),
+    g_param_spec_object ("source", NULL, NULL,
                          GTK_TYPE_CONSTRAINT_TARGET,
                          G_PARAM_READWRITE |
                          G_PARAM_STATIC_STRINGS |
@@ -251,9 +243,7 @@ gtk_constraint_class_init (GtkConstraintClass *klass)
    * constraint.
    */
   obj_props[PROP_SOURCE_ATTRIBUTE] =
-    g_param_spec_enum ("source-attribute",
-                       P_("Source Attribute"),
-                       P_("The attribute of the source widget set by the constraint"),
+    g_param_spec_enum ("source-attribute", NULL, NULL,
                        GTK_TYPE_CONSTRAINT_ATTRIBUTE,
                        GTK_CONSTRAINT_ATTRIBUTE_NONE,
                        G_PARAM_READWRITE |
@@ -267,9 +257,7 @@ gtk_constraint_class_init (GtkConstraintClass *klass)
    * the [property@Gtk.Constraint:source-attribute].
    */
   obj_props[PROP_MULTIPLIER] =
-    g_param_spec_double ("multiplier",
-                         P_("Multiplier"),
-                         P_("The multiplication factor to be applied to the source attribute"),
+    g_param_spec_double ("multiplier", NULL, NULL,
                          -G_MAXDOUBLE, G_MAXDOUBLE, 1.0,
                          G_PARAM_READWRITE |
                          G_PARAM_STATIC_STRINGS |
@@ -281,9 +269,7 @@ gtk_constraint_class_init (GtkConstraintClass *klass)
    * The constant value to be added to the [property@Gtk.Constraint:source-attribute].
    */
   obj_props[PROP_CONSTANT] =
-    g_param_spec_double ("constant",
-                         P_("Constant"),
-                         P_("The constant to be added to the source attribute"),
+    g_param_spec_double ("constant", NULL, NULL,
                          -G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
                          G_PARAM_READWRITE |
                          G_PARAM_STATIC_STRINGS |
@@ -299,9 +285,7 @@ gtk_constraint_class_init (GtkConstraintClass *klass)
    * value.
    */
   obj_props[PROP_STRENGTH] =
-    g_param_spec_int ("strength",
-                      P_("Strength"),
-                      P_("The strength of the constraint"),
+    g_param_spec_int ("strength", NULL, NULL,
                       0, GTK_CONSTRAINT_STRENGTH_REQUIRED,
                       GTK_CONSTRAINT_STRENGTH_REQUIRED,
                       G_PARAM_READWRITE |
index 512b91cfd469ac29400fe7cffdaefc8876594d99..d032af4691982ec2955f0aad81cc9f9e459e0ef7 100644 (file)
@@ -351,9 +351,7 @@ gtk_constraint_guide_class_init (GtkConstraintGuideClass *class)
    * The minimum width of the guide.
    */
   guide_props[PROP_MIN_WIDTH] =
-      g_param_spec_int ("min-width",
-                        "Minimum width",
-                        "Minimum width",
+      g_param_spec_int ("min-width", NULL, NULL,
                         0, G_MAXINT, 0,
                         G_PARAM_READWRITE|
                         G_PARAM_EXPLICIT_NOTIFY);
@@ -364,9 +362,7 @@ gtk_constraint_guide_class_init (GtkConstraintGuideClass *class)
    * The minimum height of the guide.
    */
   guide_props[PROP_MIN_HEIGHT] =
-      g_param_spec_int ("min-height",
-                        "Minimum height",
-                        "Minimum height",
+      g_param_spec_int ("min-height", NULL, NULL,
                         0, G_MAXINT, 0,
                         G_PARAM_READWRITE|
                         G_PARAM_EXPLICIT_NOTIFY);
@@ -377,9 +373,7 @@ gtk_constraint_guide_class_init (GtkConstraintGuideClass *class)
    * The preferred, or natural, width of the guide.
    */
   guide_props[PROP_NAT_WIDTH] =
-      g_param_spec_int ("nat-width",
-                        "Natural width",
-                        "Natural width",
+      g_param_spec_int ("nat-width", NULL, NULL,
                         0, G_MAXINT, 0,
                         G_PARAM_READWRITE|
                         G_PARAM_EXPLICIT_NOTIFY);
@@ -390,9 +384,7 @@ gtk_constraint_guide_class_init (GtkConstraintGuideClass *class)
    * The preferred, or natural, height of the guide.
    */
   guide_props[PROP_NAT_HEIGHT] =
-      g_param_spec_int ("nat-height",
-                        "Natural height",
-                        "Natural height",
+      g_param_spec_int ("nat-height", NULL, NULL,
                         0, G_MAXINT, 0,
                         G_PARAM_READWRITE|
                         G_PARAM_EXPLICIT_NOTIFY);
@@ -403,9 +395,7 @@ gtk_constraint_guide_class_init (GtkConstraintGuideClass *class)
    * The maximum width of the guide.
    */
   guide_props[PROP_MAX_WIDTH] =
-      g_param_spec_int ("max-width",
-                        "Maximum width",
-                        "Maximum width",
+      g_param_spec_int ("max-width", NULL, NULL,
                         0, G_MAXINT, G_MAXINT,
                         G_PARAM_READWRITE|
                         G_PARAM_EXPLICIT_NOTIFY);
@@ -416,9 +406,7 @@ gtk_constraint_guide_class_init (GtkConstraintGuideClass *class)
    * The maximum height of the guide.
    */
   guide_props[PROP_MAX_HEIGHT] =
-      g_param_spec_int ("max-height",
-                        "Maximum height",
-                        "Maximum height",
+      g_param_spec_int ("max-height", NULL, NULL,
                         0, G_MAXINT, G_MAXINT,
                         G_PARAM_READWRITE|
                         G_PARAM_EXPLICIT_NOTIFY);
@@ -430,9 +418,7 @@ gtk_constraint_guide_class_init (GtkConstraintGuideClass *class)
    * the natural size of the guide.
    */
   guide_props[PROP_STRENGTH] =
-      g_param_spec_enum ("strength",
-                         "Strength",
-                         "The strength to use for natural size",
+      g_param_spec_enum ("strength", NULL, NULL,
                          GTK_TYPE_CONSTRAINT_STRENGTH,
                          GTK_CONSTRAINT_STRENGTH_MEDIUM,
                          G_PARAM_READWRITE|
@@ -444,9 +430,7 @@ gtk_constraint_guide_class_init (GtkConstraintGuideClass *class)
    * A name that identifies the `GtkConstraintGuide`, for debugging.
    */
   guide_props[PROP_NAME] =
-      g_param_spec_string ("name",
-                           "Name",
-                           "A name to use in debug message",
+      g_param_spec_string ("name", NULL, NULL,
                            NULL,
                            G_PARAM_READWRITE);
 
index 5dc5f49068b0c14cfe9a8c6516071118ccddb38e..071c1f5f9825c65f8df975f79e6b49a5b0dab898 100644 (file)
@@ -599,28 +599,28 @@ gtk_css_node_class_init (GtkCssNodeClass *klass)
                  G_TYPE_POINTER);
 
   cssnode_properties[PROP_CLASSES] =
-    g_param_spec_boxed ("classes", P_("Style Classes"), P_("List of classes"),
+    g_param_spec_boxed ("classes", NULL, NULL,
                          G_TYPE_STRV,
                          G_PARAM_READWRITE
                          | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
   cssnode_properties[PROP_ID] =
-    g_param_spec_string ("id", P_("ID"), P_("Unique ID"),
+    g_param_spec_string ("id", NULL, NULL,
                          NULL,
                          G_PARAM_READWRITE
                          | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
   cssnode_properties[PROP_NAME] =
-    g_param_spec_string ("name", P_("Name"), "Name identifying the type of node",
+    g_param_spec_string ("name", NULL, NULL,
                          NULL,
                          G_PARAM_READWRITE
                          | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
   cssnode_properties[PROP_STATE] =
-    g_param_spec_flags ("state", P_("State"), P_("State flags"),
+    g_param_spec_flags ("state", NULL, NULL,
                         GTK_TYPE_STATE_FLAGS,
                         0,
                         G_PARAM_READWRITE
                         | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
   cssnode_properties[PROP_VISIBLE] =
-    g_param_spec_boolean ("visible", P_("Visible"), P_("If other nodes can see this node"),
+    g_param_spec_boolean ("visible", NULL, NULL,
                           TRUE,
                           G_PARAM_READWRITE
                           | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
index 8b7807788f049b2f5516211bb4cc53eba9ec6bed..6f664230307abd810bed67ccffe11b2219245767 100644 (file)
@@ -134,9 +134,7 @@ _gtk_css_shorthand_property_class_init (GtkCssShorthandPropertyClass *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_SUBPROPERTIES,
-                                   g_param_spec_boxed ("subproperties",
-                                                       P_("Subproperties"),
-                                                       P_("The list of subproperties"),
+                                   g_param_spec_boxed ("subproperties", NULL, NULL,
                                                        G_TYPE_STRV,
                                                        G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
 
index eebf39ad48fb228caec9a6614425eab1d875e42e..e049d5e3559fcd3d48cbdb9f2c786c4e98662fd9 100644 (file)
@@ -162,38 +162,28 @@ _gtk_css_style_property_class_init (GtkCssStylePropertyClass *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_ANIMATED,
-                                   g_param_spec_boolean ("animated",
-                                                         P_("Animated"),
-                                                         P_("Set if the value can be animated"),
+                                   g_param_spec_boolean ("animated", NULL, NULL,
                                                          FALSE,
                                                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class,
                                    PROP_AFFECTS,
-                                   g_param_spec_flags ("affects",
-                                                       P_("Affects"),
-                                                       P_("Set if the value affects the sizing of elements"),
+                                   g_param_spec_flags ("affects", NULL, NULL,
                                                        GTK_TYPE_CSS_AFFECTS,
                                                        0,
                                                        G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class,
                                    PROP_ID,
-                                   g_param_spec_uint ("id",
-                                                      P_("ID"),
-                                                      P_("The numeric id for quick access"),
+                                   g_param_spec_uint ("id", NULL, NULL,
                                                       0, G_MAXUINT, 0,
                                                       G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class,
                                    PROP_INHERIT,
-                                   g_param_spec_boolean ("inherit",
-                                                         P_("Inherit"),
-                                                         P_("Set if the value is inherited by default"),
+                                   g_param_spec_boolean ("inherit", NULL, NULL,
                                                          FALSE,
                                                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class,
                                    PROP_INITIAL,
-                                   g_param_spec_boxed ("initial-value",
-                                                       P_("Initial value"),
-                                                       P_("The initial specified value used for this property"),
+                                   g_param_spec_boxed ("initial-value", NULL, NULL,
                                                        GTK_TYPE_CSS_VALUE,
                                                        G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
 
index 5d887564246bd0b81492334ed4da7638c8bf8fb6..0e745acbea09cb4108ec9d2837ecd0905ec8730d 100644 (file)
@@ -563,9 +563,7 @@ gtk_dialog_class_init (GtkDialogClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_USE_HEADER_BAR,
-                                   g_param_spec_int ("use-header-bar",
-                                                     P_("Use Header Bar"),
-                                                     P_("Use Header Bar for actions."),
+                                   g_param_spec_int ("use-header-bar", NULL, NULL,
                                                      -1, 1, -1,
                                                      GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY));
 
index 3b8908aefd0487d67978b1736eaf8b67829b9249..c725de18537043d153828b2122eaeb7a855c1eae 100644 (file)
@@ -278,9 +278,7 @@ gtk_directory_list_class_init (GtkDirectoryListClass *class)
    * The attributes to query.
    */
   properties[PROP_ATTRIBUTES] =
-      g_param_spec_string ("attributes",
-                           P_("attributes"),
-                           P_("Attributes to query"),
+      g_param_spec_string ("attributes", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -290,9 +288,7 @@ gtk_directory_list_class_init (GtkDirectoryListClass *class)
    * Error encountered while loading files.
    */
   properties[PROP_ERROR] =
-      g_param_spec_boxed ("error",
-                          P_("error"),
-                          P_("Error encountered while loading files"),
+      g_param_spec_boxed ("error", NULL, NULL,
                           G_TYPE_ERROR,
                           GTK_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -302,9 +298,7 @@ gtk_directory_list_class_init (GtkDirectoryListClass *class)
    * File to query.
    */
   properties[PROP_FILE] =
-      g_param_spec_object ("file",
-                           P_("File"),
-                           P_("The file to query"),
+      g_param_spec_object ("file", NULL, NULL,
                            G_TYPE_FILE,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -314,9 +308,7 @@ gtk_directory_list_class_init (GtkDirectoryListClass *class)
    * Priority used when loading.
    */
   properties[PROP_IO_PRIORITY] =
-      g_param_spec_int ("io-priority",
-                        P_("IO priority"),
-                        P_("Priority used when loading"),
+      g_param_spec_int ("io-priority", NULL, NULL,
                         -G_MAXINT, G_MAXINT, G_PRIORITY_DEFAULT,
                         GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -326,9 +318,7 @@ gtk_directory_list_class_init (GtkDirectoryListClass *class)
    * %TRUE if files are being loaded.
    */
   properties[PROP_LOADING] =
-      g_param_spec_boolean ("loading",
-                            P_("loading"),
-                            P_("TRUE if files are being loaded"),
+      g_param_spec_boolean ("loading", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -338,9 +328,7 @@ gtk_directory_list_class_init (GtkDirectoryListClass *class)
    * %TRUE if the directory is monitored for changed.
    */
   properties[PROP_MONITORED] =
-      g_param_spec_boolean ("monitored",
-                            P_("monitored"),
-                            P_("TRUE if the directory is monitored for changes"),
+      g_param_spec_boolean ("monitored", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index dfcd6768c60f5ce111ee70326c1eaf1173ee15cc..9d199fa0153b986cd10538ad7cd14292af8aa05c 100644 (file)
@@ -372,9 +372,7 @@ gtk_drag_icon_class_init (GtkDragIconClass *klass)
    * The widget to display as drag icon.
    */
   properties[PROP_CHILD] =
-    g_param_spec_object ("child",
-                         P_("Child"),
-                         P_("The widget to display as drag icon."),
+    g_param_spec_object ("child", NULL, NULL,
                          GTK_TYPE_WIDGET,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index e65472940549be947910730ac7bfcb79221dde45..94bb8c54aa534bf2c719c2aa263fbf5bab9640de 100644 (file)
@@ -323,9 +323,7 @@ gtk_drag_source_class_init (GtkDragSourceClass *class)
    * The data that is offered by drag operations from this source.
    */
   properties[PROP_CONTENT] =
-       g_param_spec_object ("content",
-                            P_("Content"),
-                            P_("The content provider for the dragged data"),
+       g_param_spec_object ("content", NULL, NULL,
                            GDK_TYPE_CONTENT_PROVIDER,
                            G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -338,9 +336,7 @@ gtk_drag_source_class_init (GtkDragSourceClass *class)
    * if the actions include %GDK_ACTION_MOVE.
    */
   properties[PROP_ACTIONS] =
-       g_param_spec_flags ("actions",
-                           P_("Actions"),
-                           P_("Supported actions"),
+       g_param_spec_flags ("actions", NULL, NULL,
                            GDK_TYPE_DRAG_ACTION, GDK_ACTION_COPY,
                            G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
index 6e92d13e424473625a9b01db3ad4eec0e7f87407..f4ef3ced6b4009fe062899a091da855c8cd25887 100644 (file)
@@ -287,9 +287,7 @@ gtk_drawing_area_class_init (GtkDrawingAreaClass *class)
    * The content width.
    */
   props[PROP_CONTENT_WIDTH] =
-    g_param_spec_int ("content-width",
-                      P_("Content Width"),
-                      P_("Desired width for displayed content"),
+    g_param_spec_int ("content-width", NULL, NULL,
                       0, G_MAXINT, 0,
                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -299,9 +297,7 @@ gtk_drawing_area_class_init (GtkDrawingAreaClass *class)
    * The content height.
    */
   props[PROP_CONTENT_HEIGHT] =
-    g_param_spec_int ("content-height",
-                      P_("Content Height"),
-                      P_("Desired height for displayed content"),
+    g_param_spec_int ("content-height", NULL, NULL,
                       0, G_MAXINT, 0,
                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index 75c816cb74ebfc5a22b77462553661e4227ac257..86f419b58902cd64c53a595419cdf3740897670b 100644 (file)
@@ -220,9 +220,7 @@ gtk_drop_controller_motion_class_init (GtkDropControllerMotionClass *klass)
    * [signal@Gtk.DropControllerMotion::leave] is emitted.
    */
   props[PROP_CONTAINS_POINTER] =
-      g_param_spec_boolean ("contains-pointer",
-                            P_("Contains Pointer"),
-                            P_("Whether the pointer is in the controllers widget or a descendant"),
+      g_param_spec_boolean ("contains-pointer", NULL, NULL,
                             FALSE,
                             G_PARAM_READABLE);
 
@@ -242,9 +240,7 @@ gtk_drop_controller_motion_class_init (GtkDropControllerMotionClass *klass)
    * [signal@Gtk.DropControllerMotion::leave] is emitted.
    */
   props[PROP_DROP] =
-      g_param_spec_object ("drop",
-                           P_("Drop"),
-                           P_("The ongoing drop operation"),
+      g_param_spec_object ("drop", NULL, NULL,
                            GDK_TYPE_DROP,
                            G_PARAM_READABLE);
 
@@ -261,9 +257,7 @@ gtk_drop_controller_motion_class_init (GtkDropControllerMotionClass *klass)
    * [signal@Gtk.DropControllerMotion::leave] is emitted.
    */
   props[PROP_IS_POINTER] =
-      g_param_spec_boolean ("is-pointer",
-                            P_("Is Pointer"),
-                            P_("Whether the pointer is in the controllers widget"),
+      g_param_spec_boolean ("is-pointer", NULL, NULL,
                             FALSE,
                             G_PARAM_READABLE);
 
index e430892db9e79a779dfb882d0d86432816e46670..e7f8bf856eecc0e589cbe3a9170def9c0633a872 100644 (file)
@@ -469,9 +469,7 @@ gtk_drop_down_class_init (GtkDropDownClass *klass)
    * Factory for populating list items.
    */
   properties[PROP_FACTORY] =
-    g_param_spec_object ("factory",
-                         P_("Factory"),
-                         P_("Factory for populating list items"),
+    g_param_spec_object ("factory", NULL, NULL,
                          GTK_TYPE_LIST_ITEM_FACTORY,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -483,9 +481,7 @@ gtk_drop_down_class_init (GtkDropDownClass *klass)
    * If this is not set, [property@Gtk.DropDown:factory] is used.
    */
   properties[PROP_LIST_FACTORY] =
-    g_param_spec_object ("list-factory",
-                         P_("List Factory"),
-                         P_("Factory for populating list items"),
+    g_param_spec_object ("list-factory", NULL, NULL,
                          GTK_TYPE_LIST_ITEM_FACTORY,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -495,9 +491,7 @@ gtk_drop_down_class_init (GtkDropDownClass *klass)
    * Model for the displayed items.
    */
   properties[PROP_MODEL] =
-    g_param_spec_object ("model",
-                         P_("Model"),
-                         P_("Model for the displayed items"),
+    g_param_spec_object ("model", NULL, NULL,
                          G_TYPE_LIST_MODEL,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -510,9 +504,7 @@ gtk_drop_down_class_init (GtkDropDownClass *klass)
    * %GTK_INVALID_LIST_POSITION.
    */
   properties[PROP_SELECTED] =
-    g_param_spec_uint ("selected",
-                         P_("Selected"),
-                         P_("Position of the selected item"),
+    g_param_spec_uint ("selected", NULL, NULL,
                          0, G_MAXUINT, GTK_INVALID_LIST_POSITION,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -522,9 +514,7 @@ gtk_drop_down_class_init (GtkDropDownClass *klass)
    * The selected item.
    */
   properties[PROP_SELECTED_ITEM] =
-    g_param_spec_object ("selected-item",
-                       P_("Selected Item"),
-                       P_("The selected item"),
+    g_param_spec_object ("selected-item", NULL, NULL,
                        G_TYPE_OBJECT,
                        G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -537,9 +527,7 @@ gtk_drop_down_class_init (GtkDropDownClass *klass)
    * to be set.
    */
   properties[PROP_ENABLE_SEARCH] =
-    g_param_spec_boolean  ("enable-search",
-                         P_("Enable search"),
-                         P_("Whether to show a search entry in the popup"),
+    g_param_spec_boolean  ("enable-search", NULL, NULL,
                          FALSE,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -554,9 +542,7 @@ gtk_drop_down_class_init (GtkDropDownClass *klass)
    * used to bind strings to labels produced by a default factory.
    */
   properties[PROP_EXPRESSION] =
-    gtk_param_spec_expression ("expression",
-                               P_("Expression"),
-                               P_("Expression to determine strings to search for"),
+    gtk_param_spec_expression ("expression", NULL, NULL,
                                G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
   /**
@@ -567,9 +553,7 @@ gtk_drop_down_class_init (GtkDropDownClass *klass)
    * Since: 4.6
    */
   properties[PROP_SHOW_ARROW] =
-    g_param_spec_boolean  ("show-arrow",
-                           P_("Show arrow"),
-                           P_("Whether to show an arrow within the widget"),
+    g_param_spec_boolean  ("show-arrow", NULL, NULL,
                            TRUE,
                            G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index 477f167580381c8725fda756a2402965d398c71c..f3240b34e933753d9d6b25c3591337aa765d3b61 100644 (file)
@@ -624,9 +624,7 @@ gtk_drop_target_class_init (GtkDropTargetClass *class)
    * The `GdkDragActions` that this drop target supports.
    */
   properties[PROP_ACTIONS] =
-       g_param_spec_flags ("actions",
-                           P_("Actions"),
-                           P_("The actions supported by this drop target"),
+       g_param_spec_flags ("actions", NULL, NULL,
                            GDK_TYPE_DRAG_ACTION, 0,
                            G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -638,9 +636,7 @@ gtk_drop_target_class_init (GtkDropTargetClass *class)
    * Deprecated: 4.4: Use [property@Gtk.DropTarget:current-drop] instead
    */
   properties[PROP_DROP] =
-       g_param_spec_object ("drop",
-                            P_("Drop"),
-                            P_("Current drop"),
+       g_param_spec_object ("drop", NULL, NULL,
                             GDK_TYPE_DROP,
                             GTK_PARAM_READABLE | G_PARAM_DEPRECATED);
 
@@ -652,9 +648,7 @@ gtk_drop_target_class_init (GtkDropTargetClass *class)
    * Since: 4.4
    */
   properties[PROP_CURRENT_DROP] =
-       g_param_spec_object ("current-drop",
-                            P_("Current drop"),
-                            P_("Current drop"),
+       g_param_spec_object ("current-drop", NULL, NULL,
                             GDK_TYPE_DROP,
                             GTK_PARAM_READABLE);
 
@@ -664,9 +658,7 @@ gtk_drop_target_class_init (GtkDropTargetClass *class)
    * The `GdkContentFormats` that determine the supported data formats.
    */
   properties[PROP_FORMATS] =
-       g_param_spec_boxed ("formats",
-                           P_("Formats"),
-                           P_("The supported formats"),
+       g_param_spec_boxed ("formats", NULL, NULL,
                            GDK_TYPE_CONTENT_FORMATS,
                            GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
 
@@ -693,9 +685,7 @@ gtk_drop_target_class_init (GtkDropTargetClass *class)
    * so enabling it there is free.
    */
   properties[PROP_PRELOAD] =
-       g_param_spec_boolean ("preload",
-                             P_("Preload"),
-                             P_("Whether drop data should be preloaded while hovering"),
+       g_param_spec_boolean ("preload", NULL, NULL,
                              FALSE,
                              G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -713,9 +703,7 @@ gtk_drop_target_class_init (GtkDropTargetClass *class)
    * of available data.
    */
   properties[PROP_VALUE] =
-       g_param_spec_boxed ("value",
-                           P_("Value"),
-                           P_("The value for this drop operation"),
+       g_param_spec_boxed ("value", NULL, NULL,
                            G_TYPE_VALUE,
                            GTK_PARAM_READABLE);
 
index 1afd86d9224bd38576fe6ff8c5cea3f0dde7fb3d..c2b7da519664cb725321b75187b625b4d13ed6c7 100644 (file)
@@ -385,7 +385,7 @@ gtk_drop_target_async_class_init (GtkDropTargetAsyncClass *class)
    * The `GdkDragActions` that this drop target supports.
    */
   properties[PROP_ACTIONS] =
-       g_param_spec_flags ("actions", P_("Actions"), P_("Actions"),
+       g_param_spec_flags ("actions", NULL, NULL,
                            GDK_TYPE_DRAG_ACTION, 0,
                            G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -395,7 +395,7 @@ gtk_drop_target_async_class_init (GtkDropTargetAsyncClass *class)
    * The `GdkContentFormats` that determines the supported data formats.
    */
   properties[PROP_FORMATS] =
-       g_param_spec_boxed ("formats", P_("Formats"), P_("Formats"),
+       g_param_spec_boxed ("formats", NULL, NULL,
                            GDK_TYPE_CONTENT_FORMATS,
                            G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
index a9517e1c1e1ac46f8de5c16b084b51c5e4d875fb..fb45d7d0134d8373ba212eb009ba89bf26326288 100644 (file)
@@ -379,9 +379,7 @@ gtk_editable_default_init (GtkEditableInterface *iface)
    * The contents of the entry.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_string ("text",
-                           P_("Text"),
-                           P_("The contents of the entry"),
+      g_param_spec_string ("text", NULL, NULL,
                            "",
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -391,9 +389,7 @@ gtk_editable_default_init (GtkEditableInterface *iface)
    * The current position of the insertion cursor in chars.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_int ("cursor-position",
-                        P_("Cursor Position"),
-                        P_("The current position of the insertion cursor in chars"),
+      g_param_spec_int ("cursor-position", NULL, NULL,
                         0, GTK_ENTRY_BUFFER_MAX_SIZE,
                         0,
                         GTK_PARAM_READABLE));
@@ -404,9 +400,7 @@ gtk_editable_default_init (GtkEditableInterface *iface)
    * If undo/redo should be enabled for the editable.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_boolean ("enable-undo",
-                            P_("Enable Undo"),
-                            P_("If undo/redo should be enabled for the editable"),
+      g_param_spec_boolean ("enable-undo", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -416,9 +410,7 @@ gtk_editable_default_init (GtkEditableInterface *iface)
    * The position of the opposite end of the selection from the cursor in chars.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_int ("selection-bound",
-                        P_("Selection Bound"),
-                        P_("The position of the opposite end of the selection from the cursor in chars"),
+      g_param_spec_int ("selection-bound", NULL, NULL,
                         0, GTK_ENTRY_BUFFER_MAX_SIZE,
                         0,
                         GTK_PARAM_READABLE));
@@ -429,9 +421,7 @@ gtk_editable_default_init (GtkEditableInterface *iface)
    * Whether the entry contents can be edited.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_boolean ("editable",
-                            P_("Editable"),
-                            P_("Whether the entry contents can be edited"),
+      g_param_spec_boolean ("editable", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -441,9 +431,7 @@ gtk_editable_default_init (GtkEditableInterface *iface)
    * Number of characters to leave space for in the entry.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_int ("width-chars",
-                        P_("Width in chars"),
-                        P_("Number of characters to leave space for in the entry"),
+      g_param_spec_int ("width-chars", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
@@ -454,9 +442,7 @@ gtk_editable_default_init (GtkEditableInterface *iface)
    * The desired maximum width of the entry, in characters.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_int ("max-width-chars",
-                        P_("Maximum width in characters"),
-                        P_("The desired maximum width of the entry, in characters"),
+      g_param_spec_int ("max-width-chars", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
@@ -469,9 +455,7 @@ gtk_editable_default_init (GtkEditableInterface *iface)
    * Reversed for RTL layouts.
    */
   g_object_interface_install_property (iface,
-      g_param_spec_float ("xalign",
-                          P_("X align"),
-                          P_("The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts."),
+      g_param_spec_float ("xalign", NULL, NULL,
                           0.0, 1.0,
                           0.0,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
index a5331cc09c1799c23e0d9122192daa98940dd80e..d14642089f97258e65c0c489ffb2f44196084c05 100644 (file)
@@ -374,9 +374,7 @@ gtk_editable_label_class_init (GtkEditableLabelClass *class)
    * This property is %TRUE while the widget is in edit mode.
    */
   properties[PROP_EDITING] =
-    g_param_spec_boolean ("editing",
-                          P_("Editing"),
-                          P_("Whether the widget is in editing mode"),
+    g_param_spec_boolean ("editing", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 399a065d04e8121e09c90ee8d8eed06c2359a235..b0cee37e4c59e2b2ffce209aa9b87d75d7865e81 100644 (file)
@@ -483,9 +483,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The buffer object which actually stores the text.
    */
   entry_props[PROP_BUFFER] =
-      g_param_spec_object ("buffer",
-                           P_("Text Buffer"),
-                           P_("Text buffer object which actually stores entry text"),
+      g_param_spec_object ("buffer", NULL, NULL,
                            GTK_TYPE_ENTRY_BUFFER,
                            GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -495,9 +493,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * Maximum number of characters for this entry.
    */
   entry_props[PROP_MAX_LENGTH] =
-      g_param_spec_int ("max-length",
-                        P_("Maximum length"),
-                        P_("Maximum number of characters for this entry. Zero if no maximum"),
+      g_param_spec_int ("max-length", NULL, NULL,
                         0, GTK_ENTRY_BUFFER_MAX_SIZE,
                         0,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -509,9 +505,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * actual text (“password mode”).
    */
   entry_props[PROP_VISIBILITY] =
-      g_param_spec_boolean ("visibility",
-                            P_("Visibility"),
-                            P_("FALSE displays the “invisible char” instead of the actual text (password mode)"),
+      g_param_spec_boolean ("visibility", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -521,9 +515,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * Whehter the entry should draw a frame.
    */
   entry_props[PROP_HAS_FRAME] =
-      g_param_spec_boolean ("has-frame",
-                            P_("Has Frame"),
-                            P_("FALSE removes outside bevel from entry"),
+      g_param_spec_boolean ("has-frame", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -533,9 +525,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The character to use when masking entry contents (“password mode”).
    */
   entry_props[PROP_INVISIBLE_CHAR] =
-      g_param_spec_unichar ("invisible-char",
-                            P_("Invisible character"),
-                            P_("The character to use when masking entry contents (in “password mode”)"),
+      g_param_spec_unichar ("invisible-char", NULL, NULL,
                             '*',
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -545,9 +535,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * Whether to activate the default widget when Enter is pressed.
    */
   entry_props[PROP_ACTIVATES_DEFAULT] =
-      g_param_spec_boolean ("activates-default",
-                            P_("Activates default"),
-                            P_("Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed"),
+      g_param_spec_boolean ("activates-default", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -557,9 +545,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * Number of pixels of the entry scrolled off the screen to the left.
    */
   entry_props[PROP_SCROLL_OFFSET] =
-      g_param_spec_int ("scroll-offset",
-                        P_("Scroll offset"),
-                        P_("Number of pixels of the entry scrolled off the screen to the left"),
+      g_param_spec_int ("scroll-offset", NULL, NULL,
                         0, G_MAXINT,
                         0,
                         GTK_PARAM_READABLE|G_PARAM_EXPLICIT_NOTIFY);
@@ -570,9 +556,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * When %TRUE, pasted multi-line text is truncated to the first line.
    */
   entry_props[PROP_TRUNCATE_MULTILINE] =
-      g_param_spec_boolean ("truncate-multiline",
-                            P_("Truncate multiline"),
-                            P_("Whether to truncate multiline pastes to one line."),
+      g_param_spec_boolean ("truncate-multiline", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -582,9 +566,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * If text is overwritten when typing in the `GtkEntry`.
    */
   entry_props[PROP_OVERWRITE_MODE] =
-      g_param_spec_boolean ("overwrite-mode",
-                            P_("Overwrite mode"),
-                            P_("Whether new text overwrites existing text"),
+      g_param_spec_boolean ("overwrite-mode", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -594,9 +576,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The length of the text in the `GtkEntry`.
    */
   entry_props[PROP_TEXT_LENGTH] =
-      g_param_spec_uint ("text-length",
-                         P_("Text length"),
-                         P_("Length of the text currently in the entry"),
+      g_param_spec_uint ("text-length", NULL, NULL,
                          0, G_MAXUINT16,
                          0,
                          GTK_PARAM_READABLE);
@@ -607,9 +587,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * Whether the invisible char has been set for the `GtkEntry`.
    */
   entry_props[PROP_INVISIBLE_CHAR_SET] =
-      g_param_spec_boolean ("invisible-char-set",
-                            P_("Invisible character set"),
-                            P_("Whether the invisible character has been set"),
+      g_param_spec_boolean ("invisible-char-set", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE);
 
@@ -619,9 +597,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The current fraction of the task that's been completed.
    */
   entry_props[PROP_PROGRESS_FRACTION] =
-      g_param_spec_double ("progress-fraction",
-                           P_("Progress Fraction"),
-                           P_("The current fraction of the task that’s been completed"),
+      g_param_spec_double ("progress-fraction", NULL, NULL,
                            0.0, 1.0,
                            0.0,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -635,9 +611,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * See [method@Gtk.Entry.progress_pulse].
    */
   entry_props[PROP_PROGRESS_PULSE_STEP] =
-      g_param_spec_double ("progress-pulse-step",
-                           P_("Progress Pulse Step"),
-                           P_("The fraction of total entry width to move the progress bouncing block for each call to gtk_entry_progress_pulse()"),
+      g_param_spec_double ("progress-pulse-step", NULL, NULL,
                            0.0, 1.0,
                            0.0,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -649,9 +623,7 @@ gtk_entry_class_init (GtkEntryClass *class)
   * and unfocused.
   */
   entry_props[PROP_PLACEHOLDER_TEXT] =
-      g_param_spec_string ("placeholder-text",
-                           P_("Placeholder text"),
-                           P_("Show text in the entry when it’s empty and unfocused"),
+      g_param_spec_string ("placeholder-text", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -661,9 +633,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * A `GdkPaintable` to use as the primary icon for the entry.
    */
   entry_props[PROP_PAINTABLE_PRIMARY] =
-      g_param_spec_object ("primary-icon-paintable",
-                           P_("Primary paintable"),
-                           P_("Primary paintable for the entry"),
+      g_param_spec_object ("primary-icon-paintable", NULL, NULL,
                            GDK_TYPE_PAINTABLE,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -673,9 +643,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * A `GdkPaintable` to use as the secondary icon for the entry.
    */
   entry_props[PROP_PAINTABLE_SECONDARY] =
-      g_param_spec_object ("secondary-icon-paintable",
-                           P_("Secondary paintable"),
-                           P_("Secondary paintable for the entry"),
+      g_param_spec_object ("secondary-icon-paintable", NULL, NULL,
                            GDK_TYPE_PAINTABLE,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -685,9 +653,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The icon name to use for the primary icon for the entry.
    */
   entry_props[PROP_ICON_NAME_PRIMARY] =
-      g_param_spec_string ("primary-icon-name",
-                           P_("Primary icon name"),
-                           P_("Icon name for primary icon"),
+      g_param_spec_string ("primary-icon-name", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -697,9 +663,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The icon name to use for the secondary icon for the entry.
    */
   entry_props[PROP_ICON_NAME_SECONDARY] =
-      g_param_spec_string ("secondary-icon-name",
-                           P_("Secondary icon name"),
-                           P_("Icon name for secondary icon"),
+      g_param_spec_string ("secondary-icon-name", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -709,9 +673,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The `GIcon` to use for the primary icon for the entry.
    */
   entry_props[PROP_GICON_PRIMARY] =
-      g_param_spec_object ("primary-icon-gicon",
-                           P_("Primary GIcon"),
-                           P_("GIcon for primary icon"),
+      g_param_spec_object ("primary-icon-gicon", NULL, NULL,
                            G_TYPE_ICON,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -721,9 +683,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The `GIcon` to use for the secondary icon for the entry.
    */
   entry_props[PROP_GICON_SECONDARY] =
-      g_param_spec_object ("secondary-icon-gicon",
-                           P_("Secondary GIcon"),
-                           P_("GIcon for secondary icon"),
+      g_param_spec_object ("secondary-icon-gicon", NULL, NULL,
                            G_TYPE_ICON,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -733,9 +693,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The representation which is used for the primary icon of the entry.
    */
   entry_props[PROP_STORAGE_TYPE_PRIMARY] =
-      g_param_spec_enum ("primary-icon-storage-type",
-                         P_("Primary storage type"),
-                         P_("The representation being used for primary icon"),
+      g_param_spec_enum ("primary-icon-storage-type", NULL, NULL,
                          GTK_TYPE_IMAGE_TYPE,
                          GTK_IMAGE_EMPTY,
                          GTK_PARAM_READABLE);
@@ -746,9 +704,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The representation which is used for the secondary icon of the entry.
    */
   entry_props[PROP_STORAGE_TYPE_SECONDARY] =
-      g_param_spec_enum ("secondary-icon-storage-type",
-                         P_("Secondary storage type"),
-                         P_("The representation being used for secondary icon"),
+      g_param_spec_enum ("secondary-icon-storage-type", NULL, NULL,
                          GTK_TYPE_IMAGE_TYPE,
                          GTK_IMAGE_EMPTY,
                          GTK_PARAM_READABLE);
@@ -766,9 +722,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * informational purposes.
    */
   entry_props[PROP_ACTIVATABLE_PRIMARY] =
-      g_param_spec_boolean ("primary-icon-activatable",
-                            P_("Primary icon activatable"),
-                            P_("Whether the primary icon is activatable"),
+      g_param_spec_boolean ("primary-icon-activatable", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -785,9 +739,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * informational purposes.
    */
   entry_props[PROP_ACTIVATABLE_SECONDARY] =
-      g_param_spec_boolean ("secondary-icon-activatable",
-                            P_("Secondary icon activatable"),
-                            P_("Whether the secondary icon is activatable"),
+      g_param_spec_boolean ("secondary-icon-activatable", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -804,9 +756,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * when clicked is currently not available.
    */
   entry_props[PROP_SENSITIVE_PRIMARY] =
-      g_param_spec_boolean ("primary-icon-sensitive",
-                            P_("Primary icon sensitive"),
-                            P_("Whether the primary icon is sensitive"),
+      g_param_spec_boolean ("primary-icon-sensitive", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -823,9 +773,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * when clicked is currently not available.
    */
   entry_props[PROP_SENSITIVE_SECONDARY] =
-      g_param_spec_boolean ("secondary-icon-sensitive",
-                            P_("Secondary icon sensitive"),
-                            P_("Whether the secondary icon is sensitive"),
+      g_param_spec_boolean ("secondary-icon-sensitive", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -837,9 +785,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * Also see [method@Gtk.Entry.set_icon_tooltip_text].
    */
   entry_props[PROP_TOOLTIP_TEXT_PRIMARY] =
-      g_param_spec_string ("primary-icon-tooltip-text",
-                           P_("Primary icon tooltip text"),
-                           P_("The contents of the tooltip on the primary icon"),
+      g_param_spec_string ("primary-icon-tooltip-text", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -851,9 +797,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * Also see [method@Gtk.Entry.set_icon_tooltip_text].
    */
   entry_props[PROP_TOOLTIP_TEXT_SECONDARY] =
-      g_param_spec_string ("secondary-icon-tooltip-text",
-                           P_("Secondary icon tooltip text"),
-                           P_("The contents of the tooltip on the secondary icon"),
+      g_param_spec_string ("secondary-icon-tooltip-text", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -865,9 +809,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * Also see [method@Gtk.Entry.set_icon_tooltip_markup].
    */
   entry_props[PROP_TOOLTIP_MARKUP_PRIMARY] =
-      g_param_spec_string ("primary-icon-tooltip-markup",
-                           P_("Primary icon tooltip markup"),
-                           P_("The contents of the tooltip on the primary icon"),
+      g_param_spec_string ("primary-icon-tooltip-markup", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -879,9 +821,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * Also see [method@Gtk.Entry.set_icon_tooltip_markup].
    */
   entry_props[PROP_TOOLTIP_MARKUP_SECONDARY] =
-      g_param_spec_string ("secondary-icon-tooltip-markup",
-                           P_("Secondary icon tooltip markup"),
-                           P_("The contents of the tooltip on the secondary icon"),
+      g_param_spec_string ("secondary-icon-tooltip-markup", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -897,9 +837,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * property.
    */
   entry_props[PROP_IM_MODULE] =
-      g_param_spec_string ("im-module",
-                           P_("IM module"),
-                           P_("Which IM module should be used"),
+      g_param_spec_string ("im-module", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -909,9 +847,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The auxiliary completion object to use with the entry.
    */
   entry_props[PROP_COMPLETION] =
-      g_param_spec_object ("completion",
-                           P_("Completion"),
-                           P_("The auxiliary completion object"),
+      g_param_spec_object ("completion", NULL, NULL,
                            GTK_TYPE_ENTRY_COMPLETION,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -928,9 +864,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * [property@Gtk.Entry:visibility].
    */
   entry_props[PROP_INPUT_PURPOSE] =
-      g_param_spec_enum ("input-purpose",
-                         P_("Purpose"),
-                         P_("Purpose of the text field"),
+      g_param_spec_enum ("input-purpose", NULL, NULL,
                          GTK_TYPE_INPUT_PURPOSE,
                          GTK_INPUT_PURPOSE_FREE_FORM,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -943,9 +877,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * Also see [property@Gtk.Entry:input-purpose]
    */
   entry_props[PROP_INPUT_HINTS] =
-      g_param_spec_flags ("input-hints",
-                          P_("hints"),
-                          P_("Hints for the text field behaviour"),
+      g_param_spec_flags ("input-hints", NULL, NULL,
                           GTK_TYPE_INPUT_HINTS,
                           GTK_INPUT_HINT_NONE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -961,9 +893,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * [class@Gtk.EntryBuffer] text, i.e. without the preedit string.
    */
   entry_props[PROP_ATTRIBUTES] =
-      g_param_spec_boxed ("attributes",
-                          P_("Attributes"),
-                          P_("A list of style attributes to apply to the text of the entry"),
+      g_param_spec_boxed ("attributes", NULL, NULL,
                           PANGO_TYPE_ATTR_LIST,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -973,9 +903,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * A list of tabstops to apply to the text of the entry.
    */
   entry_props[PROP_TABS] =
-      g_param_spec_boxed ("tabs",
-                          P_("Tabs"),
-                          P_("A list of tabstop locations to apply to the text of the entry"),
+      g_param_spec_boxed ("tabs", NULL, NULL,
                           PANGO_TYPE_TAB_ARRAY,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -986,9 +914,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * to open the Emoji chooser.
    */
   entry_props[PROP_SHOW_EMOJI_ICON] =
-      g_param_spec_boolean ("show-emoji-icon",
-                            P_("Emoji icon"),
-                            P_("Whether to show an icon for Emoji"),
+      g_param_spec_boolean ("show-emoji-icon", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -998,9 +924,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * A menu model whose contents will be appended to the context menu.
    */
   entry_props[PROP_EXTRA_MENU] =
-      g_param_spec_object ("extra-menu",
-                           P_("Extra menu"),
-                           P_("Model menu to append to the context menu"),
+      g_param_spec_object ("extra-menu", NULL, NULL,
                            G_TYPE_MENU_MODEL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1011,9 +935,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * like `:heart:`.
    */
   entry_props[PROP_ENABLE_EMOJI_COMPLETION] =
-      g_param_spec_boolean ("enable-emoji-completion",
-                            P_("Enable Emoji completion"),
-                            P_("Whether to suggest Emoji replacements"),
+      g_param_spec_boolean ("enable-emoji-completion", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index 2d2f68b3d8a9a000d25b1eba95871dff22c0924b..a693b876bd4035c067d1fb76d65117d97034743c 100644 (file)
@@ -344,9 +344,7 @@ gtk_entry_buffer_class_init (GtkEntryBufferClass *klass)
    * The contents of the buffer.
    */
   entry_buffer_props[PROP_TEXT] =
-      g_param_spec_string ("text",
-                           P_("Text"),
-                           P_("The contents of the buffer"),
+      g_param_spec_string ("text", NULL, NULL,
                            "",
                            GTK_PARAM_READWRITE);
 
@@ -356,9 +354,7 @@ gtk_entry_buffer_class_init (GtkEntryBufferClass *klass)
    * The length (in characters) of the text in buffer.
    */
    entry_buffer_props[PROP_LENGTH] =
-       g_param_spec_uint ("length",
-                          P_("Text length"),
-                          P_("Length of the text currently in the buffer"),
+       g_param_spec_uint ("length", NULL, NULL,
                           0, GTK_ENTRY_BUFFER_MAX_SIZE, 0,
                           GTK_PARAM_READABLE);
 
@@ -368,9 +364,7 @@ gtk_entry_buffer_class_init (GtkEntryBufferClass *klass)
    * The maximum length (in characters) of the text in the buffer.
    */
   entry_buffer_props[PROP_MAX_LENGTH] =
-      g_param_spec_int ("max-length",
-                        P_("Maximum length"),
-                        P_("Maximum number of characters for this entry. Zero if no maximum"),
+      g_param_spec_int ("max-length", NULL, NULL,
                         0, GTK_ENTRY_BUFFER_MAX_SIZE, 0,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index ef4985af72caf56e11ba764e0d83f32735fad88f..328d3cc0fd8319b53ce46fb4ce8314cb7c8abff6 100644 (file)
@@ -295,16 +295,12 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
                   G_TYPE_NONE, 0);
 
   entry_completion_props[PROP_MODEL] =
-      g_param_spec_object ("model",
-                           P_("Completion Model"),
-                           P_("The model to find matches in"),
+      g_param_spec_object ("model", NULL, NULL,
                            GTK_TYPE_TREE_MODEL,
                            GTK_PARAM_READWRITE);
 
   entry_completion_props[PROP_MINIMUM_KEY_LENGTH] =
-      g_param_spec_int ("minimum-key-length",
-                        P_("Minimum Key Length"),
-                        P_("Minimum length of the search key in order to look up matches"),
+      g_param_spec_int ("minimum-key-length", NULL, NULL,
                         0, G_MAXINT, 1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -316,9 +312,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
    * Note that the strings must be UTF-8.
    */
   entry_completion_props[PROP_TEXT_COLUMN] =
-    g_param_spec_int ("text-column",
-                      P_("Text column"),
-                      P_("The column of the model containing the strings."),
+    g_param_spec_int ("text-column", NULL, NULL,
                       -1, G_MAXINT, -1,
                       GTK_PARAM_READWRITE);
 
@@ -332,9 +326,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
    * using a custom match function.
    */
   entry_completion_props[PROP_INLINE_COMPLETION] =
-      g_param_spec_boolean ("inline-completion",
-                            P_("Inline completion"),
-                            P_("Whether the common prefix should be inserted automatically"),
+      g_param_spec_boolean ("inline-completion", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -345,9 +337,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
    * shown in a popup window.
    */
   entry_completion_props[PROP_POPUP_COMPLETION] =
-      g_param_spec_boolean ("popup-completion",
-                            P_("Popup completion"),
-                            P_("Whether the completions should be shown in a popup window"),
+      g_param_spec_boolean ("popup-completion", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -358,9 +348,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
    * resized to the width of the entry.
    */
   entry_completion_props[PROP_POPUP_SET_WIDTH] =
-      g_param_spec_boolean ("popup-set-width",
-                            P_("Popup set width"),
-                            P_("If TRUE, the popup window will have the same size as the entry"),
+      g_param_spec_boolean ("popup-set-width", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -374,9 +362,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
    * [property@Gtk.EntryCompletion:inline-completion].
    */
   entry_completion_props[PROP_POPUP_SINGLE_MATCH] =
-      g_param_spec_boolean ("popup-single-match",
-                            P_("Popup single match"),
-                            P_("If TRUE, the popup window will appear for a single match."),
+      g_param_spec_boolean ("popup-single-match", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -387,9 +373,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
    * will appear in the entry as you navigate through them.
    */
   entry_completion_props[PROP_INLINE_SELECTION] =
-      g_param_spec_boolean ("inline-selection",
-                            P_("Inline selection"),
-                            P_("Your description here"),
+      g_param_spec_boolean ("inline-selection", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -403,9 +387,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
    * [class@Gtk.CellAreaBox] will be used.
    */
   entry_completion_props[PROP_CELL_AREA] =
-      g_param_spec_object ("cell-area",
-                           P_("Cell Area"),
-                           P_("The GtkCellArea used to layout cells"),
+      g_param_spec_object ("cell-area", NULL, NULL,
                            GTK_TYPE_CELL_AREA,
                            GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
 
index 8666de4a87ce90d74dc1921f9d3befd1233d6dd0..f4aec29eda93caa6c5eafbf082db4b73b305aa79 100644 (file)
@@ -200,9 +200,7 @@ gtk_event_controller_class_init (GtkEventControllerClass *klass)
    * The widget receiving the `GdkEvents` that the controller will handle.
    */
   properties[PROP_WIDGET] =
-      g_param_spec_object ("widget",
-                           P_("Widget"),
-                           P_("Widget the gesture relates to"),
+      g_param_spec_object ("widget", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READABLE);
 
@@ -212,9 +210,7 @@ gtk_event_controller_class_init (GtkEventControllerClass *klass)
    * The propagation phase at which this controller will handle events.
    */
   properties[PROP_PROPAGATION_PHASE] =
-      g_param_spec_enum ("propagation-phase",
-                         P_("Propagation phase"),
-                         P_("Propagation phase at which this controller is run"),
+      g_param_spec_enum ("propagation-phase", NULL, NULL,
                          GTK_TYPE_PROPAGATION_PHASE,
                          GTK_PHASE_BUBBLE,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -225,9 +221,7 @@ gtk_event_controller_class_init (GtkEventControllerClass *klass)
    * The limit for which events this controller will handle.
    */
   properties[PROP_PROPAGATION_LIMIT] =
-      g_param_spec_enum ("propagation-limit",
-                         P_("Propagation limit"),
-                         P_("Propagation limit for events handled by this controller"),
+      g_param_spec_enum ("propagation-limit", NULL, NULL,
                          GTK_TYPE_PROPAGATION_LIMIT,
                          GTK_LIMIT_SAME_NATIVE,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -238,9 +232,7 @@ gtk_event_controller_class_init (GtkEventControllerClass *klass)
    * The name for this controller, typically used for debugging purposes.
    */
   properties[PROP_NAME] =
-      g_param_spec_string ("name",
-                           P_("Name"),
-                           P_("Name for this controller"),
+      g_param_spec_string ("name", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
index cc4c2b8f0b30ee600003e0859e4c80a06fc5fb14..6261420e9a1f3c935026422d791663d0b9d69596 100644 (file)
@@ -200,9 +200,7 @@ gtk_event_controller_focus_class_init (GtkEventControllerFocusClass *klass)
    * [signal@Gtk.EventControllerFocus::leave] are emitted.
    */
   props[PROP_IS_FOCUS] =
-      g_param_spec_boolean ("is-focus",
-                            P_("Is Focus"),
-                            P_("Whether the focus is in the controllers widget"),
+      g_param_spec_boolean ("is-focus", NULL, NULL,
                             FALSE,
                             G_PARAM_READABLE);
 
@@ -219,9 +217,7 @@ gtk_event_controller_focus_class_init (GtkEventControllerFocusClass *klass)
    * [signal@Gtk.EventControllerFocus::leave] are emitted.
    */
   props[PROP_CONTAINS_FOCUS] =
-      g_param_spec_boolean ("contains-focus",
-                            P_("Contains Focus"),
-                            P_("Whether the focus is in a descendant of the controllers widget"),
+      g_param_spec_boolean ("contains-focus", NULL, NULL,
                             FALSE,
                             G_PARAM_READABLE);
 
index 47aee4914919191f024e345a98b4cbbd3743ac7d..f2a8d5e877f2f4e124f8d73a6e868e62addb0eab 100644 (file)
@@ -207,9 +207,7 @@ gtk_event_controller_motion_class_init (GtkEventControllerMotionClass *klass)
    * [signal@Gtk.EventControllerMotion::leave] is emitted.
    */
   props[PROP_IS_POINTER] =
-      g_param_spec_boolean ("is-pointer",
-                            P_("Is Pointer"),
-                            P_("Whether the pointer is in the controllers widget"),
+      g_param_spec_boolean ("is-pointer", NULL, NULL,
                             FALSE,
                             G_PARAM_READABLE);
 
@@ -225,9 +223,7 @@ gtk_event_controller_motion_class_init (GtkEventControllerMotionClass *klass)
    * [signal@Gtk.EventControllerMotion::leave] is emitted.
    */
   props[PROP_CONTAINS_POINTER] =
-      g_param_spec_boolean ("contains-pointer",
-                            P_("Contains Pointer"),
-                            P_("Whether the pointer is in the controllers widget or a descendant"),
+      g_param_spec_boolean ("contains-pointer", NULL, NULL,
                             FALSE,
                             G_PARAM_READABLE);
 
index f40826cf7b85da0020b9051dba3b255f3428a715..d78cc0177039fa225542796e12f62c282c450eb8 100644 (file)
@@ -481,9 +481,7 @@ gtk_event_controller_scroll_class_init (GtkEventControllerScrollClass *klass)
    * The flags affecting event controller behavior.
    */
   pspecs[PROP_FLAGS] =
-    g_param_spec_flags ("flags",
-                        P_("Flags"),
-                        P_("Flags"),
+    g_param_spec_flags ("flags", NULL, NULL,
                         GTK_TYPE_EVENT_CONTROLLER_SCROLL_FLAGS,
                         GTK_EVENT_CONTROLLER_SCROLL_NONE,
                         GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
index 27d94b0112413737d0ec46d91d14958ea13ce341..b06d1b112c9eee5e3fe63579c31f1d25610d5865 100644 (file)
@@ -316,9 +316,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_EXPANDED,
-                                   g_param_spec_boolean ("expanded",
-                                                         P_("Expanded"),
-                                                         P_("Whether the expander has been opened to reveal the child widget"),
+                                   g_param_spec_boolean ("expanded", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -329,9 +327,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_LABEL,
-                                   g_param_spec_string ("label",
-                                                        P_("Label"),
-                                                        P_("Text of the expander’s label"),
+                                   g_param_spec_string ("label", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT));
 
@@ -342,9 +338,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_USE_UNDERLINE,
-                                   g_param_spec_boolean ("use-underline",
-                                                         P_("Use underline"),
-                                                         P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
+                                   g_param_spec_boolean ("use-underline", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -355,9 +349,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_USE_MARKUP,
-                                   g_param_spec_boolean ("use-markup",
-                                                         P_("Use markup"),
-                                                         P_("The text of the label includes XML markup. See pango_parse_markup()"),
+                                   g_param_spec_boolean ("use-markup", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -368,9 +360,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_LABEL_WIDGET,
-                                   g_param_spec_object ("label-widget",
-                                                        P_("Label widget"),
-                                                        P_("A widget to display in place of the usual expander label"),
+                                   g_param_spec_object ("label-widget", NULL, NULL,
                                                         GTK_TYPE_WIDGET,
                                                         GTK_PARAM_READWRITE));
 
@@ -382,9 +372,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_RESIZE_TOPLEVEL,
-                                   g_param_spec_boolean ("resize-toplevel",
-                                                         P_("Resize toplevel"),
-                                                         P_("Whether the expander will resize the toplevel window upon expanding and collapsing"),
+                                   g_param_spec_boolean ("resize-toplevel", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -395,9 +383,7 @@ gtk_expander_class_init (GtkExpanderClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_CHILD,
-                                   g_param_spec_object ("child",
-                                                        P_("Child"),
-                                                        P_("The child widget"),
+                                   g_param_spec_object ("child", NULL, NULL,
                                                         GTK_TYPE_WIDGET,
                                                         GTK_PARAM_READWRITE));
 
index 1df736fd2a071e8a690af23fa412997cc2a5f6b2..ce153c243b3c8de86df04d1084f09648532c6982 100644 (file)
@@ -83,9 +83,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
    * The type of operation that the file chooser is performing.
    */
   g_object_interface_install_property (iface,
-                                       g_param_spec_enum ("action",
-                                                          P_("Action"),
-                                                          P_("The type of operation that the file selector is performing"),
+                                       g_param_spec_enum ("action", NULL, NULL,
                                                           GTK_TYPE_FILE_CHOOSER_ACTION,
                                                           GTK_FILE_CHOOSER_ACTION_OPEN,
                                                           GTK_PARAM_READWRITE));
@@ -97,9 +95,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
    * The current filter for selecting files that are displayed.
    */
   g_object_interface_install_property (iface,
-                                       g_param_spec_object ("filter",
-                                                            P_("Filter"),
-                                                            P_("The current filter for selecting which files are displayed"),
+                                       g_param_spec_object ("filter", NULL, NULL,
                                                             GTK_TYPE_FILE_FILTER,
                                                             GTK_PARAM_READWRITE));
 
@@ -109,9 +105,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
    * Whether to allow multiple files to be selected.
    */
   g_object_interface_install_property (iface,
-                                       g_param_spec_boolean ("select-multiple",
-                                                             P_("Select Multiple"),
-                                                             P_("Whether to allow multiple files to be selected"),
+                                       g_param_spec_boolean ("select-multiple", NULL, NULL,
                                                              FALSE,
                                                              GTK_PARAM_READWRITE));
 
@@ -125,9 +119,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
    * or may not be updated for later changes.
    */
   g_object_interface_install_property (iface,
-                                       g_param_spec_object ("filters",
-                                                          P_("Filters"),
-                                                          P_("List model of filters"),
+                                       g_param_spec_object ("filters", NULL, NULL,
                                                           G_TYPE_LIST_MODEL,
                                                           GTK_PARAM_READABLE));
 
@@ -141,9 +133,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
    * or may not be updated for later changes.
    */
   g_object_interface_install_property (iface,
-                                       g_param_spec_object ("shortcut-folders",
-                                                          P_("Shortcut Folders"),
-                                                          P_("List model of shortcut folders"),
+                                       g_param_spec_object ("shortcut-folders", NULL, NULL,
                                                           G_TYPE_LIST_MODEL,
                                                           GTK_PARAM_READABLE));
 
@@ -154,10 +144,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
    * will offer the user to create new folders.
    */
   g_object_interface_install_property (iface,
-                                       g_param_spec_boolean ("create-folders",
-                                                             P_("Allow folder creation"),
-                                                             P_("Whether a file chooser not in open mode "
-                                                                "will offer the user to create new folders."),
+                                       g_param_spec_boolean ("create-folders", NULL, NULL,
                                                              TRUE,
                                                              GTK_PARAM_READWRITE));
 }
index af89e65e1a8593305a8e4c47495d2019ed084fe4..ea3d2a9cfdd1479a16462a8ab32c3bbc6a28fc26 100644 (file)
@@ -772,9 +772,7 @@ gtk_file_chooser_native_class_init (GtkFileChooserNativeClass *class)
    * %NULL to use the default text.
    */
  native_props[PROP_ACCEPT_LABEL] =
-      g_param_spec_string ("accept-label",
-                           P_("Accept label"),
-                           P_("The label on the accept button"),
+      g_param_spec_string ("accept-label", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
@@ -785,9 +783,7 @@ gtk_file_chooser_native_class_init (GtkFileChooserNativeClass *class)
    * %NULL to use the default text.
    */
   native_props[PROP_CANCEL_LABEL] =
-      g_param_spec_string ("cancel-label",
-                           P_("Cancel label"),
-                           P_("The label on the cancel button"),
+      g_param_spec_string ("cancel-label", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
index 34e34734d3900fd9bad2b97b8be57d74b137383f..dfe796847ce43f28c890c03a97d60eb2a6587e7f 100644 (file)
@@ -7639,16 +7639,12 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
                                          "(i)", i);
 
   g_object_class_install_property (gobject_class, PROP_SEARCH_MODE,
-                                   g_param_spec_boolean ("search-mode",
-                                                         P_("Search mode"),
-                                                         P_("Search mode"),
+                                   g_param_spec_boolean ("search-mode", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
   g_object_class_install_property (gobject_class, PROP_SUBTITLE,
-                                   g_param_spec_string ("subtitle",
-                                                        P_("Subtitle"),
-                                                        P_("Subtitle"),
+                                   g_param_spec_string ("subtitle", NULL, NULL,
                                                         "",
                                                         GTK_PARAM_READABLE));
 
index f9c7627615988d058e3cf7cdc59159554271eebc..0fb16d7b5e5c3d2b25ccc9e5c4230b427a357461 100644 (file)
@@ -235,9 +235,7 @@ gtk_file_filter_class_init (GtkFileFilterClass *class)
    * user interface if there is a selectable list of filters.
    */
   props[PROP_NAME] =
-      g_param_spec_string ("name",
-                           P_("Name"),
-                           P_("The human-readable name for this filter"),
+      g_param_spec_string ("name", NULL, NULL,
                            NULL,
                            G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
index 1c03dfb617a3a6c4e18e26d2c41156b6b8fbbc24..fdf9a4a41e36dffd01cc97e96a0cf02ebf4fdaf4 100644 (file)
@@ -557,9 +557,7 @@ gtk_filter_list_model_class_init (GtkFilterListModelClass *class)
    * The filter for this model.
    */
   properties[PROP_FILTER] =
-      g_param_spec_object ("filter",
-                           P_("Filter"),
-                           P_("The filter set for this model"),
+      g_param_spec_object ("filter", NULL, NULL,
                            GTK_TYPE_FILTER,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -569,9 +567,7 @@ gtk_filter_list_model_class_init (GtkFilterListModelClass *class)
    * If the model should filter items incrementally.
    */
   properties[PROP_INCREMENTAL] =
-      g_param_spec_boolean ("incremental",
-                            P_("Incremental"),
-                            P_("Filter items incrementally"),
+      g_param_spec_boolean ("incremental", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -581,9 +577,7 @@ gtk_filter_list_model_class_init (GtkFilterListModelClass *class)
    * The model being filtered.
    */
   properties[PROP_MODEL] =
-      g_param_spec_object ("model",
-                           P_("Model"),
-                           P_("The model being filtered"),
+      g_param_spec_object ("model", NULL, NULL,
                            G_TYPE_LIST_MODEL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -593,9 +587,7 @@ gtk_filter_list_model_class_init (GtkFilterListModelClass *class)
    * Number of items not yet filtered.
    */
   properties[PROP_PENDING] =
-      g_param_spec_uint ("pending",
-                         P_("Pending"),
-                         P_("Number of items not yet filtered"),
+      g_param_spec_uint ("pending", NULL, NULL,
                          0, G_MAXUINT, 0,
                          GTK_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
 
index 1cf67c3ba39a0fd85e4f564f3ae55216ef85f23a..63ea38f3ea170e3a19cd435d256b09360f7eb689 100644 (file)
@@ -159,9 +159,7 @@ gtk_fixed_layout_child_class_init (GtkFixedLayoutChildClass *klass)
    * The transform of the child.
    */
   child_props[PROP_CHILD_TRANSFORM] =
-    g_param_spec_boxed ("transform",
-                        P_("transform"),
-                        P_("The transform of a child of a fixed layout"),
+    g_param_spec_boxed ("transform", NULL, NULL,
                         GSK_TYPE_TRANSFORM,
                         G_PARAM_READWRITE |
                         G_PARAM_STATIC_STRINGS |
index 74f3b7795ae294affbe57709e62d904d2d1021e9..384f82e081e27d3f1e7dce8764f89a0a7ac61e0a 100644 (file)
@@ -405,9 +405,7 @@ gtk_flatten_list_model_class_init (GtkFlattenListModelClass *class)
    * The model being flattened.
    */
   properties[PROP_MODEL] =
-      g_param_spec_object ("model",
-                           P_("Model"),
-                           P_("The model being flattened"),
+      g_param_spec_object ("model", NULL, NULL,
                            G_TYPE_LIST_MODEL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index a3de9deaaa455b1fc7486676fb8dfc20cf4af8b5..2d9e9d9e70a60bc1929f6a5ac773d13f83b1e455 100644 (file)
@@ -530,9 +530,7 @@ gtk_flow_box_child_class_init (GtkFlowBoxChildClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_CHILD,
-                                   g_param_spec_object ("child",
-                                                        P_("Child"),
-                                                        P_("The child widget"),
+                                   g_param_spec_object ("child", NULL, NULL,
                                                         GTK_TYPE_WIDGET,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -3608,9 +3606,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
    * The selection mode used by the flow box.
    */
   props[PROP_SELECTION_MODE] =
-    g_param_spec_enum ("selection-mode",
-                       P_("Selection mode"),
-                       P_("The selection mode"),
+    g_param_spec_enum ("selection-mode", NULL, NULL,
                        GTK_TYPE_SELECTION_MODE,
                        GTK_SELECTION_SINGLE,
                        GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
@@ -3622,9 +3618,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
    * click, or require a double-click.
    */
   props[PROP_ACTIVATE_ON_SINGLE_CLICK] =
-    g_param_spec_boolean ("activate-on-single-click",
-                          P_("Activate on Single Click"),
-                          P_("Activate row on a single click"),
+    g_param_spec_boolean ("activate-on-single-click", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -3634,9 +3628,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
    * Whether to accept unpaired release events.
    */
   props[PROP_ACCEPT_UNPAIRED_RELEASE] =
-    g_param_spec_boolean ("accept-unpaired-release",
-                          P_("Accept unpaired release"),
-                          P_("Accept an unpaired release event"),
+    g_param_spec_boolean ("accept-unpaired-release", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -3647,9 +3639,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
    * same size.
    */
   props[PROP_HOMOGENEOUS] =
-    g_param_spec_boolean ("homogeneous",
-                          P_("Homogeneous"),
-                          P_("Whether the children should all be the same size"),
+    g_param_spec_boolean ("homogeneous", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -3664,10 +3654,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
    * for the overall minimum width of the box.
    */
   props[PROP_MIN_CHILDREN_PER_LINE] =
-    g_param_spec_uint ("min-children-per-line",
-                       P_("Minimum Children Per Line"),
-                       P_("The minimum number of children to allocate "
-                       "consecutively in the given orientation."),
+    g_param_spec_uint ("min-children-per-line", NULL, NULL,
                        0, G_MAXUINT, 0,
                        GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -3678,10 +3665,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
    * in the given orientation.
    */
   props[PROP_MAX_CHILDREN_PER_LINE] =
-    g_param_spec_uint ("max-children-per-line",
-                       P_("Maximum Children Per Line"),
-                       P_("The maximum amount of children to request space for "
-                          "consecutively in the given orientation."),
+    g_param_spec_uint ("max-children-per-line", NULL, NULL,
                        1, G_MAXUINT, DEFAULT_MAX_CHILDREN_PER_LINE,
                        GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -3691,9 +3675,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
    * The amount of vertical space between two children.
    */
   props[PROP_ROW_SPACING] =
-    g_param_spec_uint ("row-spacing",
-                       P_("Vertical spacing"),
-                       P_("The amount of vertical space between two children"),
+    g_param_spec_uint ("row-spacing", NULL, NULL,
                        0, G_MAXUINT, 0,
                        GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -3703,9 +3685,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
    * The amount of horizontal space between two children.
    */
   props[PROP_COLUMN_SPACING] =
-    g_param_spec_uint ("column-spacing",
-                       P_("Horizontal spacing"),
-                       P_("The amount of horizontal space between two children"),
+    g_param_spec_uint ("column-spacing", NULL, NULL,
                        0, G_MAXUINT, 0,
                        GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 4dea9b09f4b886dc2419f746b44a5e973ee15fda..9845c586821b5d266ac302ddc477887d5688e0b1 100644 (file)
@@ -502,9 +502,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_TITLE,
-                                   g_param_spec_string ("title",
-                                                        P_("Title"),
-                                                        P_("The title of the font chooser dialog"),
+                                   g_param_spec_string ("title", NULL, NULL,
                                                         _("Pick a Font"),
                                                         GTK_PARAM_READWRITE));
 
@@ -515,9 +513,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_USE_FONT,
-                                   g_param_spec_boolean ("use-font",
-                                                         P_("Use font in label"),
-                                                         P_("Whether the label is drawn in the selected font"),
+                                   g_param_spec_boolean ("use-font", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -528,9 +524,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_USE_SIZE,
-                                   g_param_spec_boolean ("use-size",
-                                                         P_("Use size in label"),
-                                                         P_("Whether the label is drawn with the selected font size"),
+                                   g_param_spec_boolean ("use-size", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -541,9 +535,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_MODAL,
-                                   g_param_spec_boolean ("modal",
-                                                         P_("Modal"),
-                                                         P_("Whether the dialog is modal"),
+                                   g_param_spec_boolean ("modal", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index 3b01659d280d1dfe867f2b64f467fdbe1b9ee78d..fb87ed0ca42442ac6271689e8b0d180972e0cbd4 100644 (file)
@@ -58,9 +58,7 @@ gtk_font_chooser_default_init (GtkFontChooserInterface *iface)
    */
   g_object_interface_install_property
      (iface,
-      g_param_spec_string ("font",
-                          P_("Font"),
-                           P_("Font description as a string, e.g. “Sans Italic 12”"),
+      g_param_spec_string ("font", NULL, NULL,
                            GTK_FONT_CHOOSER_DEFAULT_FONT_NAME,
                            GTK_PARAM_READWRITE));
 
@@ -71,9 +69,7 @@ gtk_font_chooser_default_init (GtkFontChooserInterface *iface)
    */
   g_object_interface_install_property
      (iface,
-      g_param_spec_boxed ("font-desc",
-                          P_("Font description"),
-                          P_("Font description as a PangoFontDescription struct"),
+      g_param_spec_boxed ("font-desc", NULL, NULL,
                           PANGO_TYPE_FONT_DESCRIPTION,
                           GTK_PARAM_READWRITE));
 
@@ -84,9 +80,7 @@ gtk_font_chooser_default_init (GtkFontChooserInterface *iface)
    */
   g_object_interface_install_property
      (iface,
-      g_param_spec_string ("preview-text",
-                          P_("Preview text"),
-                          P_("The text to display in order to demonstrate the selected font"),
+      g_param_spec_string ("preview-text", NULL, NULL,
                           pango_language_get_sample_string (NULL),
                           GTK_PARAM_READWRITE));
 
@@ -97,9 +91,7 @@ gtk_font_chooser_default_init (GtkFontChooserInterface *iface)
    */
   g_object_interface_install_property
      (iface,
-      g_param_spec_boolean ("show-preview-entry",
-                          P_("Show preview text entry"),
-                          P_("Whether the preview text entry is shown or not"),
+      g_param_spec_boolean ("show-preview-entry", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -110,9 +102,7 @@ gtk_font_chooser_default_init (GtkFontChooserInterface *iface)
    */
   g_object_interface_install_property
      (iface,
-      g_param_spec_flags ("level",
-                          P_("Selection level"),
-                          P_("Whether to select family, face or font"),
+      g_param_spec_flags ("level", NULL, NULL,
                           GTK_TYPE_FONT_CHOOSER_LEVEL,
                           GTK_FONT_CHOOSER_LEVEL_FAMILY |
                           GTK_FONT_CHOOSER_LEVEL_STYLE |
@@ -129,9 +119,7 @@ gtk_font_chooser_default_init (GtkFontChooserInterface *iface)
    */
   g_object_interface_install_property
      (iface,
-      g_param_spec_string ("font-features",
-                          P_("Font features"),
-                          P_("Font features as a string"),
+      g_param_spec_string ("font-features", NULL, NULL,
                           "",
                           GTK_PARAM_READABLE));
 
@@ -142,9 +130,7 @@ gtk_font_chooser_default_init (GtkFontChooserInterface *iface)
    */
   g_object_interface_install_property
      (iface,
-      g_param_spec_string ("language",
-                          P_("Language"),
-                          P_("Language for which features have been selected"),
+      g_param_spec_string ("language", NULL, NULL,
                           "",
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index 84a4046719bd8bc30130a5b7fefb4376c99a211b..b998867e8a14544acebaa0e0959cde6fd80c35c4 100644 (file)
@@ -890,9 +890,7 @@ gtk_font_chooser_widget_class_init (GtkFontChooserWidgetClass *klass)
    * The action will be enabled or disabled depending on whether
    * the selected font has any features or axes.
    */
-  pspec = g_param_spec_object ("tweak-action",
-                               P_("The tweak action"),
-                               P_("The toggle action to switch to the tweak page"),
+  pspec = g_param_spec_object ("tweak-action", NULL, NULL,
                                G_TYPE_ACTION,
                                G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
   g_object_class_install_property (gobject_class, PROP_TWEAK_ACTION, pspec);
index 428ca8be73ef3e6e65472b884ecc2608545993e7..1b9b3ef0c10f7869700c9fdd6dd0c53b537a77e4 100644 (file)
@@ -166,9 +166,7 @@ gtk_frame_class_init (GtkFrameClass *class)
    * Text of the frame's label.
    */
   frame_props[PROP_LABEL] =
-      g_param_spec_string ("label",
-                           P_("Label"),
-                           P_("Text of the frame’s label"),
+      g_param_spec_string ("label", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -178,9 +176,7 @@ gtk_frame_class_init (GtkFrameClass *class)
    * The horizontal alignment of the label.
    */
   frame_props[PROP_LABEL_XALIGN] =
-      g_param_spec_float ("label-xalign",
-                          P_("Label xalign"),
-                          P_("The horizontal alignment of the label"),
+      g_param_spec_float ("label-xalign", NULL, NULL,
                           0.0, 1.0,
                           0.0,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -191,9 +187,7 @@ gtk_frame_class_init (GtkFrameClass *class)
    * Widget to display in place of the usual frame label.
    */
   frame_props[PROP_LABEL_WIDGET] =
-      g_param_spec_object ("label-widget",
-                           P_("Label widget"),
-                           P_("A widget to display in place of the usual frame label"),
+      g_param_spec_object ("label-widget", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE);
 
@@ -203,9 +197,7 @@ gtk_frame_class_init (GtkFrameClass *class)
    * The child widget.
    */
   frame_props[PROP_CHILD] =
-      g_param_spec_object ("child",
-                           P_("Child"),
-                           P_("The child widget"),
+      g_param_spec_object ("child", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE);
 
index 59fee6bcbfbb6e3f710842e50701ac7dc6a34f15..32756afccc8ac6175b5b6c6ff1f5869107f30419 100644 (file)
@@ -808,10 +808,7 @@ gtk_gesture_class_init (GtkGestureClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_N_POINTS,
-                                   g_param_spec_uint ("n-points",
-                                                      P_("Number of points"),
-                                                      P_("Number of points needed "
-                                                         "to trigger the gesture"),
+                                   g_param_spec_uint ("n-points", NULL, NULL,
                                                       1, G_MAXUINT, 1,
                                                       GTK_PARAM_READWRITE |
                                                       G_PARAM_CONSTRUCT_ONLY));
index ffd36ca3eb51d498f623208ba8a9a65dd0386d8a..679a09b55f1270abfcd14cea4268b9154296a717 100644 (file)
@@ -287,9 +287,7 @@ gtk_gesture_long_press_class_init (GtkGestureLongPressClass *klass)
    * Factor by which to modify the default timeout.
    */
   props[PROP_DELAY_FACTOR] =
-    g_param_spec_double ("delay-factor",
-                         P_("Delay factor"),
-                         P_("Factor by which to modify the default timeout"),
+    g_param_spec_double ("delay-factor", NULL, NULL,
                          0.5, 2.0, 1.0,
                          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
index f97b138877b5b498f902f035fda3efc34964e211..0c9e7699b321501cd3595e9e9845c83d1d36db56 100644 (file)
@@ -230,9 +230,7 @@ gtk_gesture_pan_class_init (GtkGesturePanClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_ORIENTATION,
-                                   g_param_spec_enum ("orientation",
-                                                      P_("Orientation"),
-                                                      P_("Allowed orientations"),
+                                   g_param_spec_enum ("orientation", NULL, NULL,
                                                       GTK_TYPE_ORIENTATION,
                                                       GTK_ORIENTATION_HORIZONTAL,
                                                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
index c9fa73e747d1b7a17a718d4a58461d185c2ffac8..52340b74c81895eb0177eb0517c5e7ea45bab736 100644 (file)
@@ -265,9 +265,7 @@ gtk_gesture_single_class_init (GtkGestureSingleClass *klass)
    * Whether the gesture handles only touch events.
    */
   properties[PROP_TOUCH_ONLY] =
-      g_param_spec_boolean ("touch-only",
-                            P_("Handle only touch events"),
-                            P_("Whether the gesture handles only touch events"),
+      g_param_spec_boolean ("touch-only", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -279,9 +277,7 @@ gtk_gesture_single_class_init (GtkGestureSingleClass *klass)
    * Exclusive gestures only listen to pointer and pointer emulated events.
    */
   properties[PROP_EXCLUSIVE] =
-      g_param_spec_boolean ("exclusive",
-                            P_("Whether the gesture is exclusive"),
-                            P_("Whether the gesture is exclusive"),
+      g_param_spec_boolean ("exclusive", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -291,9 +287,7 @@ gtk_gesture_single_class_init (GtkGestureSingleClass *klass)
    * Mouse button number to listen to, or 0 to listen for any button.
    */
   properties[PROP_BUTTON] =
-      g_param_spec_uint ("button",
-                         P_("Button number"),
-                         P_("Button number to listen to"),
+      g_param_spec_uint ("button", NULL, NULL,
                          0, G_MAXUINT,
                          GDK_BUTTON_PRIMARY,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
index af4d46ec91a22173882b384c2cbc02ecfea3328a..c70de8b036c03ee182b77536255353d03f181c9b 100644 (file)
@@ -798,9 +798,7 @@ gtk_gl_area_class_init (GtkGLAreaClass *klass)
    * depth, etc), use render buffers.
    */
   obj_props[PROP_CONTEXT] =
-    g_param_spec_object ("context",
-                         P_("Context"),
-                         P_("The GL context"),
+    g_param_spec_object ("context", NULL, NULL,
                          GDK_TYPE_GL_CONTEXT,
                          G_PARAM_READABLE |
                          G_PARAM_STATIC_STRINGS);
@@ -820,9 +818,7 @@ gtk_gl_area_class_init (GtkGLAreaClass *klass)
    * to redraw.
    */
   obj_props[PROP_AUTO_RENDER] =
-    g_param_spec_boolean ("auto-render",
-                          P_("Auto render"),
-                          P_("Whether the GtkGLArea renders on each redraw"),
+    g_param_spec_boolean ("auto-render", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READWRITE |
                           G_PARAM_STATIC_STRINGS |
@@ -839,9 +835,7 @@ gtk_gl_area_class_init (GtkGLAreaClass *klass)
    * in your `GtkGLArea::render` handler.
    */
   obj_props[PROP_HAS_DEPTH_BUFFER] =
-    g_param_spec_boolean ("has-depth-buffer",
-                          P_("Has depth buffer"),
-                          P_("Whether a depth buffer is allocated"),
+    g_param_spec_boolean ("has-depth-buffer", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE |
                           G_PARAM_STATIC_STRINGS |
@@ -854,9 +848,7 @@ gtk_gl_area_class_init (GtkGLAreaClass *klass)
    * target framebuffer.
    */
   obj_props[PROP_HAS_STENCIL_BUFFER] =
-    g_param_spec_boolean ("has-stencil-buffer",
-                          P_("Has stencil buffer"),
-                          P_("Whether a stencil buffer is allocated"),
+    g_param_spec_boolean ("has-stencil-buffer", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE |
                           G_PARAM_STATIC_STRINGS |
@@ -869,9 +861,7 @@ gtk_gl_area_class_init (GtkGLAreaClass *klass)
    * OpenGL ES instead of OpenGL.
    */
   obj_props[PROP_USE_ES] =
-    g_param_spec_boolean ("use-es",
-                          P_("Use OpenGL ES"),
-                          P_("Whether the context uses OpenGL or OpenGL ES"),
+    g_param_spec_boolean ("use-es", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE |
                           G_PARAM_STATIC_STRINGS |
index f23f7ba929ed5fa3c8390e068dccd472c35d06b4..f5f48da9a5195a5fc678a0b75d62121ccfa91814 100644 (file)
@@ -430,9 +430,7 @@ gtk_grid_class_init (GtkGridClass *class)
    * The amount of space between two consecutive rows.
    */
   obj_properties[PROP_ROW_SPACING] =
-    g_param_spec_int ("row-spacing",
-                      P_("Row spacing"),
-                      P_("The amount of space between two consecutive rows"),
+    g_param_spec_int ("row-spacing", NULL, NULL,
                       0, G_MAXINT16, 0,
                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -442,9 +440,7 @@ gtk_grid_class_init (GtkGridClass *class)
    * The amount of space between two consecutive columns.
    */
   obj_properties[PROP_COLUMN_SPACING] =
-    g_param_spec_int ("column-spacing",
-                      P_("Column spacing"),
-                      P_("The amount of space between two consecutive columns"),
+    g_param_spec_int ("column-spacing", NULL, NULL,
                       0, G_MAXINT16, 0,
                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -454,9 +450,7 @@ gtk_grid_class_init (GtkGridClass *class)
    * If %TRUE, the rows are all the same height.
    */
   obj_properties[PROP_ROW_HOMOGENEOUS] =
-    g_param_spec_boolean ("row-homogeneous",
-                          P_("Row Homogeneous"),
-                          P_("If TRUE, the rows are all the same height"),
+    g_param_spec_boolean ("row-homogeneous", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -466,9 +460,7 @@ gtk_grid_class_init (GtkGridClass *class)
    * If %TRUE, the columns are all the same width.
    */
   obj_properties[PROP_COLUMN_HOMOGENEOUS] =
-    g_param_spec_boolean ("column-homogeneous",
-                          P_("Column Homogeneous"),
-                          P_("If TRUE, the columns are all the same width"),
+    g_param_spec_boolean ("column-homogeneous", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -478,9 +470,7 @@ gtk_grid_class_init (GtkGridClass *class)
    * The row to align to the baseline when valign is %GTK_ALIGN_BASELINE.
    */
   obj_properties[PROP_BASELINE_ROW] =
-    g_param_spec_int ("baseline-row",
-                      P_("Baseline Row"),
-                      P_("The row to align the to the baseline when valign is GTK_ALIGN_BASELINE"),
+    g_param_spec_int ("baseline-row", NULL, NULL,
                       0, G_MAXINT, 0,
                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index c9b6195abe07109adae03beaa117a843ee8be4d3..d449f43da11a8abbf07572a27d441d81f102de46 100644 (file)
@@ -164,9 +164,7 @@ gtk_grid_layout_child_class_init (GtkGridLayoutChildClass *klass)
    * The column to place the child in.
    */
   child_props[PROP_CHILD_COLUMN] =
-    g_param_spec_int ("column",
-                      P_("Column"),
-                      P_("The column to place the child in"),
+    g_param_spec_int ("column", NULL, NULL,
                       G_MININT, G_MAXINT, 0,
                       GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -176,9 +174,7 @@ gtk_grid_layout_child_class_init (GtkGridLayoutChildClass *klass)
    * The row to place the child in.
    */
   child_props[PROP_CHILD_ROW] =
-    g_param_spec_int ("row",
-                      P_("Row"),
-                      P_("The row to place the child in"),
+    g_param_spec_int ("row", NULL, NULL,
                       G_MININT, G_MAXINT, 0,
                       GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -188,9 +184,7 @@ gtk_grid_layout_child_class_init (GtkGridLayoutChildClass *klass)
    * The number of columns the child spans to.
    */
   child_props[PROP_CHILD_COLUMN_SPAN] =
-    g_param_spec_int ("column-span",
-                      P_("Column span"),
-                      P_("The number of columns that a child spans"),
+    g_param_spec_int ("column-span", NULL, NULL,
                       1, G_MAXINT, 1,
                       GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -200,9 +194,7 @@ gtk_grid_layout_child_class_init (GtkGridLayoutChildClass *klass)
    * The number of rows the child spans to.
    */
   child_props[PROP_CHILD_ROW_SPAN] =
-    g_param_spec_int ("row-span",
-                      P_("Row span"),
-                      P_("The number of rows that a child spans"),
+    g_param_spec_int ("row-span", NULL, NULL,
                       1, G_MAXINT, 1,
                       GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1666,9 +1658,7 @@ gtk_grid_layout_class_init (GtkGridLayoutClass *klass)
    * The amount of space between to consecutive rows.
    */
   layout_props[PROP_ROW_SPACING] =
-    g_param_spec_int ("row-spacing",
-                      P_("Row spacing"),
-                      P_("The amount of space between two consecutive rows"),
+    g_param_spec_int ("row-spacing", NULL, NULL,
                       0, G_MAXINT16, 0,
                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1678,9 +1668,7 @@ gtk_grid_layout_class_init (GtkGridLayoutClass *klass)
    * The amount of space between to consecutive columns.
    */
   layout_props[PROP_COLUMN_SPACING] =
-    g_param_spec_int ("column-spacing",
-                      P_("Column spacing"),
-                      P_("The amount of space between two consecutive columns"),
+    g_param_spec_int ("column-spacing", NULL, NULL,
                       0, G_MAXINT16, 0,
                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1690,9 +1678,7 @@ gtk_grid_layout_class_init (GtkGridLayoutClass *klass)
    * Whether all the rows in the grid have the same height.
    */
   layout_props[PROP_ROW_HOMOGENEOUS] =
-    g_param_spec_boolean ("row-homogeneous",
-                          P_("Row Homogeneous"),
-                          P_("If TRUE, the rows are all the same height"),
+    g_param_spec_boolean ("row-homogeneous", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1702,9 +1688,7 @@ gtk_grid_layout_class_init (GtkGridLayoutClass *klass)
    * Whether all the columns in the grid have the same width.
    */
   layout_props[PROP_COLUMN_HOMOGENEOUS] =
-    g_param_spec_boolean ("column-homogeneous",
-                          P_("Column Homogeneous"),
-                          P_("If TRUE, the columns are all the same width"),
+    g_param_spec_boolean ("column-homogeneous", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1715,9 +1699,7 @@ gtk_grid_layout_class_init (GtkGridLayoutClass *klass)
    * to %GTK_ALIGN_BASELINE.
    */
   layout_props[PROP_BASELINE_ROW] =
-    g_param_spec_int ("baseline-row",
-                      P_("Baseline Row"),
-                      P_("The row to align the to the baseline when valign is GTK_ALIGN_BASELINE"),
+    g_param_spec_int ("baseline-row", NULL, NULL,
                       0, G_MAXINT, 0,
                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index 9b903dc5e04dbe568ab8f774fa8c66cb90449ee2..aab1704a090d6e9b14bbb4fedaebac0aa65e4f15 100644 (file)
@@ -1054,9 +1054,7 @@ gtk_grid_view_class_init (GtkGridViewClass *klass)
    * Factory for populating list items.
    */
   properties[PROP_FACTORY] =
-    g_param_spec_object ("factory",
-                         P_("Factory"),
-                         P_("Factory for populating list items"),
+    g_param_spec_object ("factory", NULL, NULL,
                          GTK_TYPE_LIST_ITEM_FACTORY,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -1070,9 +1068,7 @@ gtk_grid_view_class_init (GtkGridViewClass *klass)
    * that value is used instead.
    */
   properties[PROP_MAX_COLUMNS] =
-    g_param_spec_uint ("max-columns",
-                       P_("Max columns"),
-                       P_("Maximum number of columns per row"),
+    g_param_spec_uint ("max-columns", NULL, NULL,
                        1, G_MAXUINT, DEFAULT_MAX_COLUMNS,
                        G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -1082,9 +1078,7 @@ gtk_grid_view_class_init (GtkGridViewClass *klass)
    * Minimum number of columns per row.
    */
   properties[PROP_MIN_COLUMNS] =
-    g_param_spec_uint ("min-columns",
-                       P_("Min columns"),
-                       P_("Minimum number of columns per row"),
+    g_param_spec_uint ("min-columns", NULL, NULL,
                        1, G_MAXUINT, 1,
                        G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -1094,9 +1088,7 @@ gtk_grid_view_class_init (GtkGridViewClass *klass)
    * Model for the items displayed.
    */
   properties[PROP_MODEL] =
-    g_param_spec_object ("model",
-                         P_("Model"),
-                         P_("Model for the items displayed"),
+    g_param_spec_object ("model", NULL, NULL,
                          GTK_TYPE_SELECTION_MODEL,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -1106,9 +1098,7 @@ gtk_grid_view_class_init (GtkGridViewClass *klass)
    * Activate rows on single click and select them on hover.
    */
   properties[PROP_SINGLE_CLICK_ACTIVATE] =
-    g_param_spec_boolean ("single-click-activate",
-                          P_("Single click activate"),
-                          P_("Activate rows on single click"),
+    g_param_spec_boolean ("single-click-activate", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1118,9 +1108,7 @@ gtk_grid_view_class_init (GtkGridViewClass *klass)
    * Allow rubberband selection.
    */
   properties[PROP_ENABLE_RUBBERBAND] =
-    g_param_spec_boolean ("enable-rubberband",
-                          P_("Enable rubberband selection"),
-                          P_("Allow selecting items by dragging with the mouse"),
+    g_param_spec_boolean ("enable-rubberband", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index ebf372a1ae5d064367ca55b5d4bedd304bc72ff4..ec66d392bc57beca4af96c14241e685c7cf6513a 100644 (file)
@@ -565,9 +565,7 @@ gtk_header_bar_class_init (GtkHeaderBarClass *class)
   widget_class->get_request_mode = gtk_header_bar_get_request_mode;
 
   header_bar_props[PROP_TITLE_WIDGET] =
-      g_param_spec_object ("title-widget",
-                           P_("Title Widget"),
-                           P_("Title widget to display"),
+      g_param_spec_object ("title-widget", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS);
 
@@ -582,9 +580,7 @@ gtk_header_bar_class_init (GtkHeaderBarClass *class)
    * be shown if the window can't be closed).
    */
   header_bar_props[PROP_SHOW_TITLE_BUTTONS] =
-      g_param_spec_boolean ("show-title-buttons",
-                            P_("Show title buttons"),
-                            P_("Whether to show title buttons"),
+      g_param_spec_boolean ("show-title-buttons", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -597,9 +593,7 @@ gtk_header_bar_class_init (GtkHeaderBarClass *class)
    * [property@Gtk.Settings:gtk-decoration-layout] setting is used.
    */
   header_bar_props[PROP_DECORATION_LAYOUT] =
-      g_param_spec_string ("decoration-layout",
-                           P_("Decoration Layout"),
-                           P_("The layout for window decorations"),
+      g_param_spec_string ("decoration-layout", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
index 5c8871835643c3db683bb1d4e21ea14dc20847b2..4f0618ab04b1b4725633d874b71a963a0d9b4999 100644 (file)
@@ -988,9 +988,7 @@ gtk_icon_theme_class_init (GtkIconThemeClass *klass)
    * The display that this icon theme object is attached to.
    */
   props[PROP_DISPLAY] =
-      g_param_spec_object ("display",
-                           P_("Display"),
-                           P_("Display"),
+      g_param_spec_object ("display", NULL, NULL,
                            GDK_TYPE_DISPLAY,
                            G_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1000,9 +998,7 @@ gtk_icon_theme_class_init (GtkIconThemeClass *klass)
    * The icon names that are supported by the icon theme.
    */
   props[PROP_ICON_NAMES] =
-      g_param_spec_boxed ("icon-names",
-                          P_("Supported icon names"),
-                          P_("Supported icon names"),
+      g_param_spec_boxed ("icon-names", NULL, NULL,
                           G_TYPE_STRV,
                           GTK_PARAM_READABLE);
 
@@ -1018,9 +1014,7 @@ gtk_icon_theme_class_init (GtkIconThemeClass *klass)
    * to be extended by adding icons in the user’s home directory.)
    */
   props[PROP_SEARCH_PATH] =
-      g_param_spec_boxed ("search-path",
-                          P_("Search path"),
-                          P_("Search path"),
+      g_param_spec_boxed ("search-path", NULL, NULL,
                           G_TYPE_STRV,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1037,9 +1031,7 @@ gtk_icon_theme_class_init (GtkIconThemeClass *klass)
    * of a subdirectory are also considered as ultimate fallback.
    */
   props[PROP_RESOURCE_PATH] =
-      g_param_spec_boxed ("resource-path",
-                          P_("Resource path"),
-                          P_("Resource path"),
+      g_param_spec_boxed ("resource-path", NULL, NULL,
                           G_TYPE_STRV,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1053,9 +1045,7 @@ gtk_icon_theme_class_init (GtkIconThemeClass *klass)
    * object associated to the display of the icontheme object. 
    */
   props[PROP_THEME_NAME] =
-      g_param_spec_string ("theme-name",
-                           P_("Theme name"),
-                           P_("Theme name"),
+      g_param_spec_string ("theme-name", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -3625,9 +3615,7 @@ gtk_icon_paintable_class_init (GtkIconPaintableClass *klass)
    * The file representing the icon, if any.
    */
   g_object_class_install_property (gobject_class, PROP_FILE,
-                                   g_param_spec_object ("file",
-                                                        P_("file"),
-                                                        P_("The file representing the icon"),
+                                   g_param_spec_object ("file", NULL, NULL,
                                                         G_TYPE_FILE,
                                                         G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
 
@@ -3637,9 +3625,7 @@ gtk_icon_paintable_class_init (GtkIconPaintableClass *klass)
    * The icon name that was chosen during lookup.
    */
   g_object_class_install_property (gobject_class, PROP_ICON_NAME,
-                                   g_param_spec_string ("icon-name",
-                                                        P_("Icon name"),
-                                                        P_("The icon name chosen during lookup"),
+                                   g_param_spec_string ("icon-name", NULL, NULL,
                                                         NULL,
                                                         G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
 
@@ -3649,9 +3635,7 @@ gtk_icon_paintable_class_init (GtkIconPaintableClass *klass)
    * Whether the icon is symbolic or not.
    */
   g_object_class_install_property (gobject_class, PROP_IS_SYMBOLIC,
-                                   g_param_spec_boolean ("is-symbolic",
-                                                        P_("Is symbolic"),
-                                                        P_("If the icon is symbolic"),
+                                   g_param_spec_boolean ("is-symbolic", NULL, NULL,
                                                         FALSE,
                                                         G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
 }
index 41f824610d2d26f8290b5ff7e7c3a5c6bd673173..c647b16c9cb0d6e88b802af01721d59ea82989e5 100644 (file)
@@ -356,9 +356,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_SELECTION_MODE,
-                                  g_param_spec_enum ("selection-mode",
-                                                     P_("Selection mode"),
-                                                     P_("The selection mode"),
+                                  g_param_spec_enum ("selection-mode", NULL, NULL,
                                                      GTK_TYPE_SELECTION_MODE,
                                                      GTK_SELECTION_SINGLE,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
@@ -373,9 +371,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_PIXBUF_COLUMN,
-                                  g_param_spec_int ("pixbuf-column",
-                                                    P_("Pixbuf column"),
-                                                    P_("Model column used to retrieve the icon pixbuf from"),
+                                  g_param_spec_int ("pixbuf-column", NULL, NULL,
                                                     -1, G_MAXINT, -1,
                                                     GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -389,9 +385,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_TEXT_COLUMN,
-                                  g_param_spec_int ("text-column",
-                                                    P_("Text column"),
-                                                    P_("Model column used to retrieve the text from"),
+                                  g_param_spec_int ("text-column", NULL, NULL,
                                                     -1, G_MAXINT, -1,
                                                     GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -407,17 +401,13 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_MARKUP_COLUMN,
-                                  g_param_spec_int ("markup-column",
-                                                    P_("Markup column"),
-                                                    P_("Model column used to retrieve the text if using Pango markup"),
+                                  g_param_spec_int ("markup-column", NULL, NULL,
                                                     -1, G_MAXINT, -1,
                                                     GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   
   g_object_class_install_property (gobject_class,
                                    PROP_MODEL,
-                                   g_param_spec_object ("model",
-                                                       P_("Icon View Model"),
-                                                       P_("The model for the icon view"),
+                                   g_param_spec_object ("model", NULL, NULL,
                                                        GTK_TYPE_TREE_MODEL,
                                                        GTK_PARAM_READWRITE));
   
@@ -430,9 +420,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_COLUMNS,
-                                  g_param_spec_int ("columns",
-                                                    P_("Number of columns"),
-                                                    P_("Number of columns to display"),
+                                  g_param_spec_int ("columns", NULL, NULL,
                                                     -1, G_MAXINT, -1,
                                                     GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   
@@ -446,9 +434,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_ITEM_WIDTH,
-                                  g_param_spec_int ("item-width",
-                                                    P_("Width for each item"),
-                                                    P_("The width used for each item"),
+                                  g_param_spec_int ("item-width", NULL, NULL,
                                                     -1, G_MAXINT, -1,
                                                     GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -460,9 +446,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SPACING,
-                                   g_param_spec_int ("spacing",
-                                                    P_("Spacing"),
-                                                    P_("Space which is inserted between cells of an item"),
+                                   g_param_spec_int ("spacing", NULL, NULL,
                                                     0, G_MAXINT, 0,
                                                     GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -474,9 +458,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_ROW_SPACING,
-                                   g_param_spec_int ("row-spacing",
-                                                    P_("Row Spacing"),
-                                                    P_("Space which is inserted between grid rows"),
+                                   g_param_spec_int ("row-spacing", NULL, NULL,
                                                     0, G_MAXINT, 6,
                                                     GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -488,9 +470,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_COLUMN_SPACING,
-                                   g_param_spec_int ("column-spacing",
-                                                    P_("Column Spacing"),
-                                                    P_("Space which is inserted between grid columns"),
+                                   g_param_spec_int ("column-spacing", NULL, NULL,
                                                     0, G_MAXINT, 6,
                                                     GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -502,9 +482,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_MARGIN,
-                                   g_param_spec_int ("margin",
-                                                    P_("Margin"),
-                                                    P_("Space which is inserted at the edges of the icon view"),
+                                   g_param_spec_int ("margin", NULL, NULL,
                                                     0, G_MAXINT, 6,
                                                     GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -516,9 +494,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_ITEM_ORIENTATION,
-                                  g_param_spec_enum ("item-orientation",
-                                                     P_("Item Orientation"),
-                                                     P_("How the text and icon of each item are positioned relative to each other"),
+                                  g_param_spec_enum ("item-orientation", NULL, NULL,
                                                      GTK_TYPE_ORIENTATION,
                                                      GTK_ORIENTATION_VERTICAL,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
@@ -531,17 +507,13 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_REORDERABLE,
-                                   g_param_spec_boolean ("reorderable",
-                                                        P_("Reorderable"),
-                                                        P_("View is reorderable"),
+                                   g_param_spec_boolean ("reorderable", NULL, NULL,
                                                         FALSE,
                                                         G_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
     g_object_class_install_property (gobject_class,
                                      PROP_TOOLTIP_COLUMN,
-                                     g_param_spec_int ("tooltip-column",
-                                                       P_("Tooltip Column"),
-                                                       P_("The column in the model containing the tooltip texts for the items"),
+                                     g_param_spec_int ("tooltip-column", NULL, NULL,
                                                        -1,
                                                        G_MAXINT,
                                                        -1,
@@ -555,9 +527,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_ITEM_PADDING,
-                                   g_param_spec_int ("item-padding",
-                                                    P_("Item Padding"),
-                                                    P_("Padding around icon view items"),
+                                   g_param_spec_int ("item-padding", NULL, NULL,
                                                     0, G_MAXINT, 6,
                                                     GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -571,9 +541,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_CELL_AREA,
-                                  g_param_spec_object ("cell-area",
-                                                       P_("Cell Area"),
-                                                       P_("The GtkCellArea used to layout cells"),
+                                  g_param_spec_object ("cell-area", NULL, NULL,
                                                        GTK_TYPE_CELL_AREA,
                                                        GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -585,9 +553,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_ACTIVATE_ON_SINGLE_CLICK,
-                                   g_param_spec_boolean ("activate-on-single-click",
-                                                        P_("Activate on Single Click"),
-                                                        P_("Activate row on a single click"),
+                                   g_param_spec_boolean ("activate-on-single-click", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index 6f82934e0cc2e14c2fa640663187f8ad3c1271b7..74d8a0b52fa22f3502ab158998e7da97e77e7116 100644 (file)
@@ -174,9 +174,7 @@ gtk_image_class_init (GtkImageClass *class)
    * The `GdkPaintable` to display.
    */
   image_props[PROP_PAINTABLE] =
-      g_param_spec_object ("paintable",
-                           P_("Paintable"),
-                           P_("A GdkPaintable to display"),
+      g_param_spec_object ("paintable", NULL, NULL,
                            GDK_TYPE_PAINTABLE,
                            GTK_PARAM_READWRITE);
 
@@ -186,9 +184,7 @@ gtk_image_class_init (GtkImageClass *class)
    * The `GFile to display.
    */
   image_props[PROP_FILE] =
-      g_param_spec_string ("file",
-                           P_("Filename"),
-                           P_("Filename to load and display"),
+      g_param_spec_string ("file", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
@@ -198,9 +194,7 @@ gtk_image_class_init (GtkImageClass *class)
    * The symbolic size to display icons at.
    */
   image_props[PROP_ICON_SIZE] =
-      g_param_spec_enum ("icon-size",
-                         P_("Icon size"),
-                         P_("Symbolic size to use for icon set or named icon"),
+      g_param_spec_enum ("icon-size", NULL, NULL,
                          GTK_TYPE_ICON_SIZE,
                          GTK_ICON_SIZE_INHERIT,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -215,9 +209,7 @@ gtk_image_class_init (GtkImageClass *class)
    * `GTK_IMAGE_ICON_NAME`.
    */
   image_props[PROP_PIXEL_SIZE] =
-      g_param_spec_int ("pixel-size",
-                        P_("Pixel size"),
-                        P_("Pixel size to use for named icon"),
+      g_param_spec_int ("pixel-size", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -230,9 +222,7 @@ gtk_image_class_init (GtkImageClass *class)
    * If the icon theme is changed, the image will be updated automatically.
    */
   image_props[PROP_ICON_NAME] =
-      g_param_spec_string ("icon-name",
-                           P_("Icon Name"),
-                           P_("The name of the icon from the icon theme"),
+      g_param_spec_string ("icon-name", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
@@ -245,9 +235,7 @@ gtk_image_class_init (GtkImageClass *class)
    * automatically.
    */
   image_props[PROP_GICON] =
-      g_param_spec_object ("gicon",
-                           P_("Icon"),
-                           P_("The GIcon being displayed"),
+      g_param_spec_object ("gicon", NULL, NULL,
                            G_TYPE_ICON,
                            GTK_PARAM_READWRITE);
 
@@ -257,9 +245,7 @@ gtk_image_class_init (GtkImageClass *class)
    * A path to a resource file to display.
    */
   image_props[PROP_RESOURCE] =
-      g_param_spec_string ("resource",
-                           P_("Resource"),
-                           P_("The resource path being displayed"),
+      g_param_spec_string ("resource", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
@@ -269,9 +255,7 @@ gtk_image_class_init (GtkImageClass *class)
    * The representation being used for image data.
    */
   image_props[PROP_STORAGE_TYPE] =
-      g_param_spec_enum ("storage-type",
-                         P_("Storage type"),
-                         P_("The representation being used for image data"),
+      g_param_spec_enum ("storage-type", NULL, NULL,
                          GTK_TYPE_IMAGE_TYPE,
                          GTK_IMAGE_EMPTY,
                          GTK_PARAM_READABLE);
@@ -286,9 +270,7 @@ gtk_image_class_init (GtkImageClass *class)
    * %GTK_IMAGE_ICON_NAME and %GTK_IMAGE_GICON.
    */
   image_props[PROP_USE_FALLBACK] =
-      g_param_spec_boolean ("use-fallback",
-                            P_("Use Fallback"),
-                            P_("Whether to use icon names fallback"),
+      g_param_spec_boolean ("use-fallback", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index 7fd23f8da6d0684cbba41b6b038ca68733a576b2..a46f5d75718699abc5814361dbd75115a9b74771 100644 (file)
@@ -334,9 +334,7 @@ gtk_im_context_class_init (GtkIMContextClass *klass)
    * methods to adjust their behaviour.
    */
   properties[PROP_INPUT_PURPOSE] =
-    g_param_spec_enum ("input-purpose",
-                         P_("Purpose"),
-                         P_("Purpose of the text field"),
+    g_param_spec_enum ("input-purpose", NULL, NULL,
                          GTK_TYPE_INPUT_PURPOSE,
                          GTK_INPUT_PURPOSE_FREE_FORM,
                          G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
@@ -348,9 +346,7 @@ gtk_im_context_class_init (GtkIMContextClass *klass)
    * their behaviour.
    */
   properties[PROP_INPUT_HINTS] =
-    g_param_spec_flags ("input-hints",
-                         P_("hints"),
-                         P_("Hints for the text field behaviour"),
+    g_param_spec_flags ("input-hints", NULL, NULL,
                          GTK_TYPE_INPUT_HINTS,
                          GTK_INPUT_HINT_NONE,
                          G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
index 7eeaf88b7bce14d79c711954ac4dfb66129f38b7..2cbfc328f60d394e20dde2064cc23f23531e3fd0 100644 (file)
@@ -353,9 +353,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass)
    * The type may be used to determine the appearance of the info bar.
    */
   props[PROP_MESSAGE_TYPE] =
-    g_param_spec_enum ("message-type",
-                       P_("Message Type"),
-                       P_("The type of message"),
+    g_param_spec_enum ("message-type", NULL, NULL,
                        GTK_TYPE_MESSAGE_TYPE,
                        GTK_MESSAGE_INFO,
                        GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY);
@@ -366,9 +364,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass)
    * Whether to include a standard close button.
    */
   props[PROP_SHOW_CLOSE_BUTTON] =
-    g_param_spec_boolean ("show-close-button",
-                          P_("Show Close Button"),
-                          P_("Whether to include a standard close button"),
+    g_param_spec_boolean ("show-close-button", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -378,9 +374,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass)
    * Whether the info bar shows its contents.
    */
   props[PROP_REVEALED] =
-    g_param_spec_boolean ("revealed",
-                          P_("Reveal"),
-                          P_("Controls whether the info bar shows its contents or not"),
+    g_param_spec_boolean ("revealed", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index 4bf66606b86945faa382f7da0a9a1ab1480658de..a1a6f87817865ba35546e3087bc4f36148698e33 100644 (file)
@@ -3,8 +3,6 @@
 
 #include <glib/gi18n-lib.h>
 
-#define P_(String) g_dgettext (GETTEXT_PACKAGE "-properties", String)
-
 /* not really I18N-related, but also a string marker macro */
 #define I_(string) g_intern_static_string (string)
 
index ac2554937047235d087ba8b0abcf323677a16ad5..90d48914118035c07765987dab61474fd22c3221 100644 (file)
@@ -2292,9 +2292,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * for the label to display them.
    */
   label_props[PROP_LABEL] =
-      g_param_spec_string ("label",
-                           P_("Label"),
-                           P_("The text of the label"),
+      g_param_spec_string ("label", NULL, NULL,
                            "",
                            GTK_PARAM_READWRITE);
 
@@ -2304,9 +2302,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * A list of style attributes to apply to the text of the label.
    */
   label_props[PROP_ATTRIBUTES] =
-      g_param_spec_boxed ("attributes",
-                          P_("Attributes"),
-                          P_("A list of style attributes to apply to the text of the label"),
+      g_param_spec_boxed ("attributes", NULL, NULL,
                           PANGO_TYPE_ATTR_LIST,
                           GTK_PARAM_READWRITE);
 
@@ -2318,9 +2314,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * See [func@Pango.parse_markup].
    */
   label_props[PROP_USE_MARKUP] =
-      g_param_spec_boolean ("use-markup",
-                            P_("Use markup"),
-                            P_("The text of the label includes XML markup. See pango_parse_markup()"),
+      g_param_spec_boolean ("use-markup", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -2330,9 +2324,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * %TRUE if the text of the label indicates a mnemonic with _.
    */
   label_props[PROP_USE_UNDERLINE] =
-      g_param_spec_boolean ("use-underline",
-                            P_("Use underline"),
-                            P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
+      g_param_spec_boolean ("use-underline", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -2345,9 +2337,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * See [property@Gtk.Label:xalign] for that.
    */
   label_props[PROP_JUSTIFY] =
-      g_param_spec_enum ("justify",
-                         P_("Justification"),
-                         P_("The alignment of the lines in the text of the label relative to each other. This does NOT affect the alignment of the label within its allocation. See GtkLabel:xalign for that"),
+      g_param_spec_enum ("justify", NULL, NULL,
                          GTK_TYPE_JUSTIFICATION,
                          GTK_JUSTIFY_LEFT,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -2361,9 +2351,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * labels size allocation is positioned in the space available for the label.
    */
   label_props[PROP_XALIGN] =
-      g_param_spec_float ("xalign",
-                          P_("X align"),
-                          P_("The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts."),
+      g_param_spec_float ("xalign", NULL, NULL,
                           0.0, 1.0,
                           0.5,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -2377,9 +2365,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * labels size allocation is positioned in the space available for the label.
    */
   label_props[PROP_YALIGN] =
-      g_param_spec_float ("yalign",
-                          P_("Y align"),
-                          P_("The vertical alignment, from 0 (top) to 1 (bottom)"),
+      g_param_spec_float ("yalign", NULL, NULL,
                           0.0, 1.0,
                           0.5,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -2390,9 +2376,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * %TRUE if the label text will wrap if it gets too wide.
    */
   label_props[PROP_WRAP] =
-      g_param_spec_boolean ("wrap",
-                            P_("Line wrap"),
-                            P_("If set, wrap lines if the text becomes too wide"),
+      g_param_spec_boolean ("wrap", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -2409,9 +2393,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * property.
    */
   label_props[PROP_WRAP_MODE] =
-      g_param_spec_enum ("wrap-mode",
-                         P_("Line wrap mode"),
-                         P_("If wrap is set, controls how linewrapping is done"),
+      g_param_spec_enum ("wrap-mode", NULL, NULL,
                          PANGO_TYPE_WRAP_MODE,
                          PANGO_WRAP_WORD,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -2430,9 +2412,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * Since: 4.6
    */
   label_props[PROP_NATURAL_WRAP_MODE] =
-      g_param_spec_enum ("natural-wrap-mode",
-                         P_("Natural wrap mode"),
-                         P_("If wrap is set, controls linewrapping for natural size requests"),
+      g_param_spec_enum ("natural-wrap-mode", NULL, NULL,
                          GTK_TYPE_NATURAL_WRAP_MODE,
                          GTK_NATURAL_WRAP_INHERIT,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -2443,9 +2423,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * Whether the label text can be selected with the mouse.
    */
   label_props[PROP_SELECTABLE] =
-      g_param_spec_boolean ("selectable",
-                            P_("Selectable"),
-                            P_("Whether the label text can be selected with the mouse"),
+      g_param_spec_boolean ("selectable", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -2455,9 +2433,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * The mnemonic accelerator key for the label.
    */
   label_props[PROP_MNEMONIC_KEYVAL] =
-      g_param_spec_uint ("mnemonic-keyval",
-                         P_("Mnemonic key"),
-                         P_("The mnemonic accelerator key for this label"),
+      g_param_spec_uint ("mnemonic-keyval", NULL, NULL,
                          0, G_MAXUINT,
                          GDK_KEY_VoidSymbol,
                          GTK_PARAM_READABLE);
@@ -2468,9 +2444,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * The widget to be activated when the labels mnemonic key is pressed.
    */
   label_props[PROP_MNEMONIC_WIDGET] =
-      g_param_spec_object ("mnemonic-widget",
-                           P_("Mnemonic widget"),
-                           P_("The widget to be activated when the label’s mnemonic key is pressed"),
+      g_param_spec_object ("mnemonic-widget", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE);
 
@@ -2489,9 +2463,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * and [method@Gtk.Label.set_width_chars].
    */
   label_props[PROP_ELLIPSIZE] =
-      g_param_spec_enum ("ellipsize",
-                         P_("Ellipsize"),
-                         P_("The preferred place to ellipsize the string, if the label does not have enough room to display the entire string"),
+      g_param_spec_enum ("ellipsize", NULL, NULL,
                          PANGO_TYPE_ELLIPSIZE_MODE,
                          PANGO_ELLIPSIZE_NONE,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -2508,9 +2480,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * determine the width of ellipsized and wrapped labels.
    */
   label_props[PROP_WIDTH_CHARS] =
-      g_param_spec_int ("width-chars",
-                        P_("Width In Characters"),
-                        P_("The desired width of the label, in characters"),
+      g_param_spec_int ("width-chars", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -2526,9 +2496,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * of text changes would be distracting, e.g. in a statusbar.
    */
   label_props[PROP_SINGLE_LINE_MODE] =
-      g_param_spec_boolean ("single-line-mode",
-                            P_("Single Line Mode"),
-                            P_("Whether the label is in single line mode"),
+      g_param_spec_boolean ("single-line-mode", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -2544,9 +2512,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * determine the width of ellipsized and wrapped labels.
    */
   label_props[PROP_MAX_WIDTH_CHARS] =
-      g_param_spec_int ("max-width-chars",
-                        P_("Maximum Width In Characters"),
-                        P_("The desired maximum width of the label, in characters"),
+      g_param_spec_int ("max-width-chars", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -2561,9 +2527,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * Set this property to -1 if you don't want to limit the number of lines.
    */
   label_props[PROP_LINES] =
-      g_param_spec_int ("lines",
-                        P_("Number of lines"),
-                        P_("The desired number of lines, when ellipsizing a wrapping label"),
+      g_param_spec_int ("lines", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -2574,9 +2538,7 @@ gtk_label_class_init (GtkLabelClass *class)
    * A menu model whose contents will be appended to the context menu.
    */
   label_props[PROP_EXTRA_MENU] =
-      g_param_spec_object ("extra-menu",
-                          P_("Extra menu"),
-                          P_("Menu model to append to the context menu"),
+      g_param_spec_object ("extra-menu", NULL, NULL,
                           G_TYPE_MENU_MODEL,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index b04a37bea1e52a663a152a3b52410c393231bccf..0b83f15ae1eaec4f1335e6daca3d7a3baf393bd9 100644 (file)
@@ -123,9 +123,7 @@ gtk_layout_child_class_init (GtkLayoutChildClass *klass)
    * The layout manager that created the `GtkLayoutChild` instance.
    */
   layout_child_properties[PROP_LAYOUT_MANAGER] =
-    g_param_spec_object ("layout-manager",
-                         "Layout Manager",
-                         "The layout manager that created this object",
+    g_param_spec_object ("layout-manager", NULL, NULL,
                          GTK_TYPE_LAYOUT_MANAGER,
                          GTK_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY);
@@ -136,9 +134,7 @@ gtk_layout_child_class_init (GtkLayoutChildClass *klass)
    * The widget that is associated to the `GtkLayoutChild` instance.
    */
   layout_child_properties[PROP_CHILD_WIDGET] =
-    g_param_spec_object ("child-widget",
-                         "Child Widget",
-                         "The child widget that is associated to this object",
+    g_param_spec_object ("child-widget", NULL, NULL,
                          GTK_TYPE_WIDGET,
                          GTK_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY);
index 22b950067b368cbbc2cfd07d52a86ef33c08d30c..a8ce9564fd9360644df430a18ee382de33b22e75 100644 (file)
@@ -958,9 +958,7 @@ gtk_level_bar_class_init (GtkLevelBarClass *klass)
    * Determines the currently filled value of the level bar.
    */
   properties[PROP_VALUE] =
-    g_param_spec_double ("value",
-                         P_("Currently filled value level"),
-                         P_("Currently filled value level of the level bar"),
+    g_param_spec_double ("value", NULL, NULL,
                          0.0, G_MAXDOUBLE, 0.0,
                          G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -970,9 +968,7 @@ gtk_level_bar_class_init (GtkLevelBarClass *klass)
    * Determines the minimum value of the interval that can be displayed by the bar.
    */
   properties[PROP_MIN_VALUE] =
-    g_param_spec_double ("min-value",
-                         P_("Minimum value level for the bar"),
-                         P_("Minimum value level that can be displayed by the bar"),
+    g_param_spec_double ("min-value", NULL, NULL,
                          0.0, G_MAXDOUBLE, 0.0,
                          G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -982,9 +978,7 @@ gtk_level_bar_class_init (GtkLevelBarClass *klass)
    * Determines the maximum value of the interval that can be displayed by the bar.
    */
   properties[PROP_MAX_VALUE] =
-    g_param_spec_double ("max-value",
-                         P_("Maximum value level for the bar"),
-                         P_("Maximum value level that can be displayed by the bar"),
+    g_param_spec_double ("max-value", NULL, NULL,
                          0.0, G_MAXDOUBLE, 1.0,
                          G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1003,9 +997,7 @@ gtk_level_bar_class_init (GtkLevelBarClass *klass)
    * [property@Gtk.LevelBar:max-value].
    */
   properties[PROP_MODE] =
-    g_param_spec_enum ("mode",
-                       P_("The mode of the value indicator"),
-                       P_("The mode of the value indicator displayed by the bar"),
+    g_param_spec_enum ("mode", NULL, NULL,
                        GTK_TYPE_LEVEL_BAR_MODE,
                        GTK_LEVEL_BAR_MODE_CONTINUOUS,
                        G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
@@ -1019,9 +1011,7 @@ gtk_level_bar_class_init (GtkLevelBarClass *klass)
    * Inverted level bars grow in the opposite direction.
    */
   properties[PROP_INVERTED] =
-    g_param_spec_boolean ("inverted",
-                          P_("Inverted"),
-                          P_("Invert the direction in which the level bar grows"),
+    g_param_spec_boolean ("inverted", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
index 05234ccd00ac27921ea480860e14cb3f909c0b0e..b6c91aaf8a1544784d7cbbbae41a780c0de4dc27 100644 (file)
@@ -175,9 +175,7 @@ gtk_link_button_class_init (GtkLinkButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_URI,
-                                   g_param_spec_string ("uri",
-                                                        P_("URI"),
-                                                        P_("The URI bound to this button"),
+                                   g_param_spec_string ("uri", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_READWRITE));
 
@@ -190,9 +188,7 @@ gtk_link_button_class_init (GtkLinkButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_VISITED,
-                                   g_param_spec_boolean ("visited",
-                                                         P_("Visited"),
-                                                         P_("Whether this link has been visited."),
+                                   g_param_spec_boolean ("visited", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index e4013df05c5285e32db93000930e9b4be724119b..bf0657a04f742f8c9ec920e81d73a79d688af94c 100644 (file)
@@ -1141,9 +1141,7 @@ gtk_list_base_class_init (GtkListBaseClass *klass)
    * for details.
    */
   properties[PROP_ORIENTATION] =
-    g_param_spec_enum ("orientation",
-                       P_("Orientation"),
-                       P_("The orientation of the orientable"),
+    g_param_spec_enum ("orientation", NULL, NULL,
                        GTK_TYPE_ORIENTATION,
                        GTK_ORIENTATION_VERTICAL,
                        G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
index 3a75bc0f3e7e5922824adb51416bf48cda2fbcc8..e27533087a1f2ebbed9f9be20c704531d2ab7f6f 100644 (file)
@@ -500,9 +500,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
    * The selection mode used by the list box.
    */
   properties[PROP_SELECTION_MODE] =
-    g_param_spec_enum ("selection-mode",
-                       P_("Selection mode"),
-                       P_("The selection mode"),
+    g_param_spec_enum ("selection-mode", NULL, NULL,
                        GTK_TYPE_SELECTION_MODE,
                        GTK_SELECTION_SINGLE,
                        G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
@@ -514,9 +512,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
    * click, or require a double-click.
    */
   properties[PROP_ACTIVATE_ON_SINGLE_CLICK] =
-    g_param_spec_boolean ("activate-on-single-click",
-                          P_("Activate on Single Click"),
-                          P_("Activate row on a single click"),
+    g_param_spec_boolean ("activate-on-single-click", NULL, NULL,
                           TRUE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -526,9 +522,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
    * Whether to accept unpaired release events.
    */
   properties[PROP_ACCEPT_UNPAIRED_RELEASE] =
-    g_param_spec_boolean ("accept-unpaired-release",
-                          P_("Accept unpaired release"),
-                          P_("Accept unpaired release"),
+    g_param_spec_boolean ("accept-unpaired-release", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -539,9 +533,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
    * Whether to show separators between rows.
    */
   properties[PROP_SHOW_SEPARATORS] =
-    g_param_spec_boolean ("show-separators",
-                          P_("Show separators"),
-                          P_("Show separators between rows"),
+    g_param_spec_boolean ("show-separators", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -3554,9 +3546,7 @@ gtk_list_box_row_class_init (GtkListBoxRowClass *klass)
    * signal will be emitted for this row.
    */
   row_properties[ROW_PROP_ACTIVATABLE] =
-    g_param_spec_boolean ("activatable",
-                          P_("Activatable"),
-                          P_("Whether this row can be activated"),
+    g_param_spec_boolean ("activatable", NULL, NULL,
                           TRUE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -3566,9 +3556,7 @@ gtk_list_box_row_class_init (GtkListBoxRowClass *klass)
    * Determines whether this row can be selected.
    */
   row_properties[ROW_PROP_SELECTABLE] =
-    g_param_spec_boolean ("selectable",
-                          P_("Selectable"),
-                          P_("Whether this row can be selected"),
+    g_param_spec_boolean ("selectable", NULL, NULL,
                           TRUE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -3578,9 +3566,7 @@ gtk_list_box_row_class_init (GtkListBoxRowClass *klass)
    * The child widget.
    */
   row_properties[ROW_PROP_CHILD] =
-    g_param_spec_object ("child",
-                         P_("Child"),
-                         P_("The child widget"),
+    g_param_spec_object ("child", NULL, NULL,
                          GTK_TYPE_WIDGET,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 47fed45058bc5d016ff6d757f567fc39181f7e34..df818be7585f79f88ce2e13f61beda43164b2f48 100644 (file)
@@ -165,9 +165,7 @@ gtk_list_item_class_init (GtkListItemClass *klass)
    * If the item can be activated by the user.
    */
   properties[PROP_ACTIVATABLE] =
-    g_param_spec_boolean ("activatable",
-                          P_("Activatable"),
-                          P_("If the item can be activated by the user"),
+    g_param_spec_boolean ("activatable", NULL, NULL,
                           TRUE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -177,9 +175,7 @@ gtk_list_item_class_init (GtkListItemClass *klass)
    * Widget used for display.
    */
   properties[PROP_CHILD] =
-    g_param_spec_object ("child",
-                         P_("Child"),
-                         P_("Widget used for display"),
+    g_param_spec_object ("child", NULL, NULL,
                          GTK_TYPE_WIDGET,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -189,9 +185,7 @@ gtk_list_item_class_init (GtkListItemClass *klass)
    * Displayed item.
    */
   properties[PROP_ITEM] =
-    g_param_spec_object ("item",
-                         P_("Item"),
-                         P_("Displayed item"),
+    g_param_spec_object ("item", NULL, NULL,
                          G_TYPE_OBJECT,
                          G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -201,9 +195,7 @@ gtk_list_item_class_init (GtkListItemClass *klass)
    * Position of the item.
    */
   properties[PROP_POSITION] =
-    g_param_spec_uint ("position",
-                       P_("Position"),
-                       P_("Position of the item"),
+    g_param_spec_uint ("position", NULL, NULL,
                        0, G_MAXUINT, GTK_INVALID_LIST_POSITION,
                        G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -213,9 +205,7 @@ gtk_list_item_class_init (GtkListItemClass *klass)
    * If the item can be selected by the user.
    */
   properties[PROP_SELECTABLE] =
-    g_param_spec_boolean ("selectable",
-                          P_("Selectable"),
-                          P_("If the item can be selected by the user"),
+    g_param_spec_boolean ("selectable", NULL, NULL,
                           TRUE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -225,9 +215,7 @@ gtk_list_item_class_init (GtkListItemClass *klass)
    * If the item is currently selected.
    */
   properties[PROP_SELECTED] =
-    g_param_spec_boolean ("selected",
-                          P_("Selected"),
-                          P_("If the item is currently selected"),
+    g_param_spec_boolean ("selected", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index 5a866d291c2c4fa4212ea2d155c9a8d68ec3c2a1..fc407fbd8391190f8cac7ebbfec1ec21feefc8d1 100644 (file)
@@ -239,16 +239,12 @@ gtk_list_item_widget_class_init (GtkListItemWidgetClass *klass)
   gobject_class->dispose = gtk_list_item_widget_dispose;
 
   properties[PROP_FACTORY] =
-    g_param_spec_object ("factory",
-                         "Factory",
-                         "Factory managing this list item",
+    g_param_spec_object ("factory", NULL, NULL,
                          GTK_TYPE_LIST_ITEM_FACTORY,
                          G_PARAM_WRITABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
   properties[PROP_SINGLE_CLICK_ACTIVATE] =
-    g_param_spec_boolean ("single-click-activate",
-                          "Single click activate",
-                          "Activate on single click",
+    g_param_spec_boolean ("single-click-activate", NULL, NULL,
                           FALSE,
                           G_PARAM_WRITABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index e968f8437a60adf54f6575a1e8819cfb241c8587..c5217a0348ada5fa0291da6113681d622e3d72f2 100644 (file)
@@ -815,9 +815,7 @@ gtk_list_view_class_init (GtkListViewClass *klass)
    * Factory for populating list items.
    */
   properties[PROP_FACTORY] =
-    g_param_spec_object ("factory",
-                         P_("Factory"),
-                         P_("Factory for populating list items"),
+    g_param_spec_object ("factory", NULL, NULL,
                          GTK_TYPE_LIST_ITEM_FACTORY,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -827,9 +825,7 @@ gtk_list_view_class_init (GtkListViewClass *klass)
    * Model for the items displayed.
    */
   properties[PROP_MODEL] =
-    g_param_spec_object ("model",
-                         P_("Model"),
-                         P_("Model for the items displayed"),
+    g_param_spec_object ("model", NULL, NULL,
                          GTK_TYPE_SELECTION_MODEL,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -839,9 +835,7 @@ gtk_list_view_class_init (GtkListViewClass *klass)
    * Show separators between rows.
    */
   properties[PROP_SHOW_SEPARATORS] =
-    g_param_spec_boolean ("show-separators",
-                          P_("Show separators"),
-                          P_("Show separators between rows"),
+    g_param_spec_boolean ("show-separators", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -851,9 +845,7 @@ gtk_list_view_class_init (GtkListViewClass *klass)
    * Activate rows on single click and select them on hover.
    */
   properties[PROP_SINGLE_CLICK_ACTIVATE] =
-    g_param_spec_boolean ("single-click-activate",
-                          P_("Single click activate"),
-                          P_("Activate rows on single click"),
+    g_param_spec_boolean ("single-click-activate", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -863,9 +855,7 @@ gtk_list_view_class_init (GtkListViewClass *klass)
    * Allow rubberband selection.
    */
   properties[PROP_ENABLE_RUBBERBAND] =
-    g_param_spec_boolean ("enable-rubberband",
-                          P_("Enable rubberband selection"),
-                          P_("Allow selecting items by dragging with the mouse"),
+    g_param_spec_boolean ("enable-rubberband", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index dda8cc91479f50a0850b432583d2c06aed150609..03a68d3077c2961fd38c7b491c616cd536380870 100644 (file)
@@ -270,9 +270,7 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
    * The `GPermission object controlling this button.
    */
   g_object_class_install_property (gobject_class, PROP_PERMISSION,
-    g_param_spec_object ("permission",
-                         P_("Permission"),
-                         P_("The GPermission object controlling this button"),
+    g_param_spec_object ("permission", NULL, NULL,
                          G_TYPE_PERMISSION,
                          G_PARAM_READWRITE |
                          G_PARAM_STATIC_STRINGS));
@@ -283,9 +281,7 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
    * The text to display when prompting the user to lock.
    */
   g_object_class_install_property (gobject_class, PROP_TEXT_LOCK,
-    g_param_spec_string ("text-lock",
-                         P_("Lock Text"),
-                         P_("The text to display when prompting the user to lock"),
+    g_param_spec_string ("text-lock", NULL, NULL,
                          _("Lock"),
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT |
@@ -297,9 +293,7 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
    * The text to display when prompting the user to unlock.
    */
   g_object_class_install_property (gobject_class, PROP_TEXT_UNLOCK,
-    g_param_spec_string ("text-unlock",
-                         P_("Unlock Text"),
-                         P_("The text to display when prompting the user to unlock"),
+    g_param_spec_string ("text-unlock", NULL, NULL,
                          _("Unlock"),
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT |
@@ -311,9 +305,7 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
    * The tooltip to display when prompting the user to lock.
    */
   g_object_class_install_property (gobject_class, PROP_TOOLTIP_LOCK,
-    g_param_spec_string ("tooltip-lock",
-                         P_("Lock Tooltip"),
-                         P_("The tooltip to display when prompting the user to lock"),
+    g_param_spec_string ("tooltip-lock", NULL, NULL,
                          _("Dialog is unlocked.\nClick to prevent further changes"),
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT |
@@ -325,9 +317,7 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
    * The tooltip to display when prompting the user to unlock.
    */
   g_object_class_install_property (gobject_class, PROP_TOOLTIP_UNLOCK,
-    g_param_spec_string ("tooltip-unlock",
-                         P_("Unlock Tooltip"),
-                         P_("The tooltip to display when prompting the user to unlock"),
+    g_param_spec_string ("tooltip-unlock", NULL, NULL,
                          _("Dialog is locked.\nClick to make changes"),
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT |
@@ -339,9 +329,7 @@ gtk_lock_button_class_init (GtkLockButtonClass *klass)
    * The tooltip to display when the user cannot obtain authorization.
    */
   g_object_class_install_property (gobject_class, PROP_TOOLTIP_NOT_AUTHORIZED,
-    g_param_spec_string ("tooltip-not-authorized",
-                         P_("Not Authorized Tooltip"),
-                         P_("The tooltip to display when prompting the user cannot obtain authorization"),
+    g_param_spec_string ("tooltip-not-authorized", NULL, NULL,
                          _("System policy prevents changes.\nContact your system administrator"),
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT |
index 5b5b6ab7ac79634d8182a388cdd383d398168d33..7bf8b886d7e4cb9d36d15204e26eb149d72fec4a 100644 (file)
@@ -183,23 +183,17 @@ gtk_magnifier_class_init (GtkMagnifierClass *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_INSPECTED,
-                                   g_param_spec_object ("inspected",
-                                                        P_("Inspected"),
-                                                        P_("Inspected widget"),
+                                   g_param_spec_object ("inspected", NULL, NULL,
                                                         GTK_TYPE_WIDGET,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (object_class,
                                    PROP_MAGNIFICATION,
-                                   g_param_spec_double ("magnification",
-                                                        P_("magnification"),
-                                                        P_("magnification"),
+                                   g_param_spec_double ("magnification", NULL, NULL,
                                                         1, G_MAXDOUBLE, 1,
                                                         G_PARAM_READWRITE));
   g_object_class_install_property (object_class,
                                    PROP_RESIZE,
-                                   g_param_spec_boolean ("resize",
-                                                         P_("resize"),
-                                                         P_("resize"),
+                                   g_param_spec_boolean ("resize", NULL, NULL,
                                                          FALSE,
                                                          G_PARAM_READWRITE));
 
index 0de6b7c7d8ec562b2128c941d94fd04fe807c883..7088f63d7d4c25b40c97feef9ac7c2ec835798f8 100644 (file)
@@ -356,9 +356,7 @@ gtk_map_list_model_class_init (GtkMapListModelClass *class)
    * If a map is set for this model
    */
   properties[PROP_HAS_MAP] =
-      g_param_spec_boolean ("has-map",
-                            P_("has map"),
-                            P_("If a map is set for this model"),
+      g_param_spec_boolean ("has-map", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -368,9 +366,7 @@ gtk_map_list_model_class_init (GtkMapListModelClass *class)
    * The model being mapped.
    */
   properties[PROP_MODEL] =
-      g_param_spec_object ("model",
-                           P_("Model"),
-                           P_("The model being mapped"),
+      g_param_spec_object ("model", NULL, NULL,
                            G_TYPE_LIST_MODEL,
                            GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_EXPLICIT_NOTIFY);
 
index 8fd3329296082ccf5f7f6a2653e28dae49770280..4c175737eb2978e785939fbf63e65b847a267cba 100644 (file)
@@ -272,9 +272,7 @@ gtk_media_controls_class_init (GtkMediaControlsClass *klass)
    * The media-stream managed by this object or %NULL if none.
    */
   properties[PROP_MEDIA_STREAM] =
-    g_param_spec_object ("media-stream",
-                         P_("Media Stream"),
-                         P_("The media stream managed"),
+    g_param_spec_object ("media-stream", NULL, NULL,
                          GTK_TYPE_MEDIA_STREAM,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index 33b56a2cf5ab002f4417e2059b5ef0f790d17013..fa1f12d2a14ec62d8a661cad1eb236da2273e998 100644 (file)
@@ -155,9 +155,7 @@ gtk_media_file_class_init (GtkMediaFileClass *class)
    * The file being played back or %NULL if not playing a file.
    */
   properties[PROP_FILE] =
-    g_param_spec_object ("file",
-                         P_("File"),
-                         P_("File being played back"),
+    g_param_spec_object ("file", NULL, NULL,
                          G_TYPE_FILE,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -169,9 +167,7 @@ gtk_media_file_class_init (GtkMediaFileClass *class)
    * This is %NULL when playing a file.
    */
   properties[PROP_INPUT_STREAM] =
-    g_param_spec_object ("input-stream",
-                         P_("Input stream"),
-                         P_("Input stream being played back"),
+    g_param_spec_object ("input-stream", NULL, NULL,
                          G_TYPE_INPUT_STREAM,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index 5b7df25cca06f5a8ac50d69415d2fc67d925ae03..6b5a7d524f48205b2ad6fc9ca89a5c823685d0ec 100644 (file)
@@ -297,9 +297,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * audio and video is known.
    */
   properties[PROP_PREPARED] =
-    g_param_spec_boolean ("prepared",
-                          P_("Prepared"),
-                          P_("Whether the stream has finished initializing"),
+    g_param_spec_boolean ("prepared", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -310,9 +308,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * that the stream is in.
    */
   properties[PROP_ERROR] =
-    g_param_spec_boxed ("error",
-                        P_("Error"),
-                        P_("Error the stream is in"),
+    g_param_spec_boxed ("error", NULL, NULL,
                         G_TYPE_ERROR,
                         G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -322,9 +318,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * Whether the stream contains audio.
    */
   properties[PROP_HAS_AUDIO] =
-    g_param_spec_boolean ("has-audio",
-                          P_("Has audio"),
-                          P_("Whether the stream contains audio"),
+    g_param_spec_boolean ("has-audio", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -334,9 +328,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * Whether the stream contains video.
    */
   properties[PROP_HAS_VIDEO] =
-    g_param_spec_boolean ("has-video",
-                          P_("Has video"),
-                          P_("Whether the stream contains video"),
+    g_param_spec_boolean ("has-video", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -346,9 +338,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * Whether the stream is currently playing.
    */
   properties[PROP_PLAYING] =
-    g_param_spec_boolean ("playing",
-                          P_("Playing"),
-                          P_("Whether the stream is playing"),
+    g_param_spec_boolean ("playing", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -358,9 +348,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * Set when playback has finished.
    */
   properties[PROP_ENDED] =
-    g_param_spec_boolean ("ended",
-                          P_("Ended"),
-                          P_("Set when playback has finished"),
+    g_param_spec_boolean ("ended", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -370,9 +358,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * The current presentation timestamp in microseconds.
    */
   properties[PROP_TIMESTAMP] =
-    g_param_spec_int64 ("timestamp",
-                        P_("Timestamp"),
-                        P_("Timestamp in microseconds"),
+    g_param_spec_int64 ("timestamp", NULL, NULL,
                         0, G_MAXINT64, 0,
                         G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -382,9 +368,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * The stream's duration in microseconds or 0 if unknown.
    */
   properties[PROP_DURATION] =
-    g_param_spec_int64 ("duration",
-                        P_("Duration"),
-                        P_("Timestamp in microseconds"),
+    g_param_spec_int64 ("duration", NULL, NULL,
                         0, G_MAXINT64, 0,
                         G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -394,9 +378,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * Set unless the stream is known to not support seeking.
    */
   properties[PROP_SEEKABLE] =
-    g_param_spec_boolean ("seekable",
-                          P_("Seekable"),
-                          P_("Set unless seeking is not supported"),
+    g_param_spec_boolean ("seekable", NULL, NULL,
                           TRUE,
                           G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -406,9 +388,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * Set while a seek is in progress.
    */
   properties[PROP_SEEKING] =
-    g_param_spec_boolean ("seeking",
-                          P_("Seeking"),
-                          P_("Set while a seek is in progress"),
+    g_param_spec_boolean ("seeking", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -418,9 +398,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * Try to restart the media from the beginning once it ended.
    */
   properties[PROP_LOOP] =
-    g_param_spec_boolean ("loop",
-                          P_("Loop"),
-                          P_("Try to restart the media from the beginning once it ended."),
+    g_param_spec_boolean ("loop", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -430,9 +408,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * Whether the audio stream should be muted.
    */
   properties[PROP_MUTED] =
-    g_param_spec_boolean ("muted",
-                          P_("Muted"),
-                          P_("Whether the audio stream should be muted."),
+    g_param_spec_boolean ("muted", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -442,9 +418,7 @@ gtk_media_stream_class_init (GtkMediaStreamClass *class)
    * Volume of the audio stream.
    */
   properties[PROP_VOLUME] =
-    g_param_spec_double ("volume",
-                         P_("Volume"),
-                         P_("Volume of the audio stream."),
+    g_param_spec_double ("volume", NULL, NULL,
                          0.0, 1.0, 1.0,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index fa695111b92ac5eb6c206c8fe9674a2a988cfc92..0aea0131d744bd03ce6240a1da92e0911baf0961 100644 (file)
@@ -410,9 +410,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
    * with the [property@Gtk.MenuButton:popover] property.
    */
   menu_button_props[PROP_MENU_MODEL] =
-      g_param_spec_object ("menu-model",
-                           P_("Menu model"),
-                           P_("The model from which the popup is made."),
+      g_param_spec_object ("menu-model", NULL, NULL,
                            G_TYPE_MENU_MODEL,
                            GTK_PARAM_READWRITE);
 
@@ -423,9 +421,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
    * menu or popover will be popped out.
    */
   menu_button_props[PROP_DIRECTION] =
-      g_param_spec_enum ("direction",
-                         P_("Direction"),
-                         P_("The direction the arrow should point."),
+      g_param_spec_enum ("direction", NULL, NULL,
                          GTK_TYPE_ARROW_TYPE,
                          GTK_ARROW_DOWN,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -436,9 +432,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
    * The `GtkPopover` that will be popped up when the button is clicked.
    */
   menu_button_props[PROP_POPOVER] =
-      g_param_spec_object ("popover",
-                           P_("Popover"),
-                           P_("The popover"),
+      g_param_spec_object ("popover", NULL, NULL,
                            GTK_TYPE_POPOVER,
                            G_PARAM_READWRITE);
 
@@ -448,9 +442,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
    * The name of the icon used to automatically populate the button.
    */
   menu_button_props[PROP_ICON_NAME] =
-      g_param_spec_string ("icon-name",
-                           P_("Icon Name"),
-                           P_("The name of the icon used to automatically populate the button"),
+      g_param_spec_string ("icon-name", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -462,9 +454,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
    * Since: 4.4
    */
   menu_button_props[PROP_ALWAYS_SHOW_ARROW] =
-      g_param_spec_boolean ("always-show-arrow",
-                            P_("Always Show Arrow"),
-                            P_("Whether to show a dropdown arrow even when using an icon or a custom child"),
+      g_param_spec_boolean ("always-show-arrow", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -474,9 +464,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
    * The label for the button.
    */
   menu_button_props[PROP_LABEL] =
-      g_param_spec_string ("label",
-                           P_("Label"),
-                           P_("The label for the button"),
+      g_param_spec_string ("label", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -486,9 +474,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
    * If set an underscore in the text indicates a mnemonic.
    */
   menu_button_props[PROP_USE_UNDERLINE] =
-      g_param_spec_boolean ("use-underline",
-                            P_("Use underline"),
-                            P_("If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key"),
+      g_param_spec_boolean ("use-underline", NULL, NULL,
                            FALSE,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -498,9 +484,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
    * Whether the button has a frame.
    */
   menu_button_props[PROP_HAS_FRAME] =
-    g_param_spec_boolean ("has-frame",
-                          P_("Has frame"),
-                          P_("Whether the button has a frame"),
+    g_param_spec_boolean ("has-frame", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -514,9 +498,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
    * Since: 4.4
    */
   menu_button_props[PROP_PRIMARY] =
-    g_param_spec_boolean ("primary",
-                          P_("Primary"),
-                          P_("Whether the menubutton acts as a primary menu"),
+    g_param_spec_boolean ("primary", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -528,9 +510,7 @@ gtk_menu_button_class_init (GtkMenuButtonClass *klass)
    * Since: 4.6
    */
   menu_button_props[PROP_CHILD] =
-    g_param_spec_object ("child",
-                         P_("Child"),
-                         P_("The child widget"),
+    g_param_spec_object ("child", NULL, NULL,
                          GTK_TYPE_WIDGET,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index 9a9732e28a270324c3b9bc58b3b84fda565b621d..cccfb48a851b3ddca86a596a920ae5a992ee4770 100644 (file)
@@ -224,29 +224,29 @@ gtk_menu_tracker_item_class_init (GtkMenuTrackerItemClass *class)
   class->finalize = gtk_menu_tracker_item_finalize;
 
   gtk_menu_tracker_item_pspecs[PROP_IS_SEPARATOR] =
-    g_param_spec_boolean ("is-separator", "", "", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
+    g_param_spec_boolean ("is-separator", NULL, NULL, FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
   gtk_menu_tracker_item_pspecs[PROP_LABEL] =
-    g_param_spec_string ("label", "", "", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
+    g_param_spec_string ("label", NULL, NULL, NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
   gtk_menu_tracker_item_pspecs[PROP_USE_MARKUP] =
-    g_param_spec_boolean ("use-markup", "", "", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
+    g_param_spec_boolean ("use-markup", NULL, NULL, FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
   gtk_menu_tracker_item_pspecs[PROP_ICON] =
-    g_param_spec_object ("icon", "", "", G_TYPE_ICON, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
+    g_param_spec_object ("icon", NULL, NULL, G_TYPE_ICON, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
   gtk_menu_tracker_item_pspecs[PROP_VERB_ICON] =
-    g_param_spec_object ("verb-icon", "", "", G_TYPE_ICON, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
+    g_param_spec_object ("verb-icon", NULL, NULL, G_TYPE_ICON, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
   gtk_menu_tracker_item_pspecs[PROP_SENSITIVE] =
-    g_param_spec_boolean ("sensitive", "", "", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
+    g_param_spec_boolean ("sensitive", NULL, NULL, FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
   gtk_menu_tracker_item_pspecs[PROP_ROLE] =
-    g_param_spec_enum ("role", "", "",
+    g_param_spec_enum ("role", NULL, NULL,
                        GTK_TYPE_MENU_TRACKER_ITEM_ROLE, GTK_MENU_TRACKER_ITEM_ROLE_NORMAL,
                        G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
   gtk_menu_tracker_item_pspecs[PROP_TOGGLED] =
-    g_param_spec_boolean ("toggled", "", "", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
+    g_param_spec_boolean ("toggled", NULL, NULL, FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
   gtk_menu_tracker_item_pspecs[PROP_ACCEL] =
-    g_param_spec_string ("accel", "", "", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
+    g_param_spec_string ("accel", NULL, NULL, NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
   gtk_menu_tracker_item_pspecs[PROP_SUBMENU_SHOWN] =
-    g_param_spec_boolean ("submenu-shown", "", "", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
+    g_param_spec_boolean ("submenu-shown", NULL, NULL, FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
   gtk_menu_tracker_item_pspecs[PROP_IS_VISIBLE] =
-    g_param_spec_boolean ("is-visible", "", "", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
+    g_param_spec_boolean ("is-visible", NULL, NULL, FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE);
 
   g_object_class_install_properties (class, N_PROPS, gtk_menu_tracker_item_pspecs);
 }
index 463d14b3a98b424b6454174ac4817de19564c07a..9e2be08d3cebbe772997a45e1e6d5fa52042169d 100644 (file)
@@ -361,17 +361,13 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_MESSAGE_TYPE,
-                                   g_param_spec_enum ("message-type",
-                                                      P_("Message Type"),
-                                                      P_("The type of message"),
+                                   g_param_spec_enum ("message-type", NULL, NULL,
                                                       GTK_TYPE_MESSAGE_TYPE,
                                                       GTK_MESSAGE_INFO,
                                                       GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY));
   g_object_class_install_property (gobject_class,
                                    PROP_BUTTONS,
-                                   g_param_spec_enum ("buttons",
-                                                      P_("Message Buttons"),
-                                                      P_("The buttons shown in the message dialog"),
+                                   g_param_spec_enum ("buttons", NULL, NULL,
                                                       GTK_TYPE_BUTTONS_TYPE,
                                                       GTK_BUTTONS_NONE,
                                                       GTK_PARAM_WRITABLE|G_PARAM_CONSTRUCT_ONLY));
@@ -384,9 +380,7 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_TEXT,
-                                   g_param_spec_string ("text",
-                                                        P_("Text"),
-                                                        P_("The primary text of the message dialog"),
+                                   g_param_spec_string ("text", NULL, NULL,
                                                         "",
                                                         GTK_PARAM_READWRITE));
   /**
@@ -398,9 +392,7 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_USE_MARKUP,
-                                   g_param_spec_boolean ("use-markup",
-                                                         P_("Use Markup"),
-                                                         P_("The primary text of the title includes Pango markup."),
+                                   g_param_spec_boolean ("use-markup", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   /**
@@ -410,9 +402,7 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SECONDARY_TEXT,
-                                   g_param_spec_string ("secondary-text",
-                                                        P_("Secondary Text"),
-                                                        P_("The secondary text of the message dialog"),
+                                   g_param_spec_string ("secondary-text", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_READWRITE));
   /**
@@ -424,9 +414,7 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SECONDARY_USE_MARKUP,
-                                   g_param_spec_boolean ("secondary-use-markup",
-                                                         P_("Use Markup in secondary"),
-                                                         P_("The secondary text includes Pango markup."),
+                                   g_param_spec_boolean ("secondary-use-markup", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
   /**
@@ -439,9 +427,7 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_MESSAGE_AREA,
-                                   g_param_spec_object ("message-area",
-                                                        P_("Message area"),
-                                                        P_("GtkBox that holds the dialog’s primary and secondary labels"),
+                                   g_param_spec_object ("message-area", NULL, NULL,
                                                         GTK_TYPE_WIDGET,
                                                         GTK_PARAM_READABLE));
 
index 27b5fd6e3fa91e1801b714285c13ce34eaf72c69..624f94a305799ca08798b464fb5fa0c72c8bd6b7 100644 (file)
@@ -1167,9 +1167,7 @@ gtk_model_button_class_init (GtkModelButtonClass *class)
    * from the action and does not have to be set explicitly.
    */
   properties[PROP_ROLE] =
-    g_param_spec_enum ("role",
-                       P_("Role"),
-                       P_("The role of this button"),
+    g_param_spec_enum ("role", NULL, NULL,
                        GTK_TYPE_BUTTON_ROLE,
                        GTK_BUTTON_ROLE_NORMAL,
                        G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
@@ -1181,9 +1179,7 @@ gtk_model_button_class_init (GtkModelButtonClass *class)
    * desired.
    */
   properties[PROP_ICON] = 
-    g_param_spec_object ("icon",
-                         P_("Icon"),
-                         P_("The icon"),
+    g_param_spec_object ("icon", NULL, NULL,
                          G_TYPE_ICON,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -1193,9 +1189,7 @@ gtk_model_button_class_init (GtkModelButtonClass *class)
    * The label for the button.
    */
   properties[PROP_TEXT] =
-    g_param_spec_string ("text",
-                         P_("Text"),
-                         P_("The text"),
+    g_param_spec_string ("text", NULL, NULL,
                          "",
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -1207,9 +1201,7 @@ gtk_model_button_class_init (GtkModelButtonClass *class)
    * text will be displayed verbatim.
    */
   properties[PROP_USE_MARKUP] =
-    g_param_spec_boolean ("use-markup",
-                          P_("Use markup"),
-                          P_("The text of the button includes XML markup. See pango_parse_markup()"),
+    g_param_spec_boolean ("use-markup", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -1220,9 +1212,7 @@ gtk_model_button_class_init (GtkModelButtonClass *class)
    * GAction.
    */
   properties[PROP_ACTIVE] =
-    g_param_spec_boolean ("active",
-                          P_("Active"),
-                          P_("Active"),
+    g_param_spec_boolean ("active", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -1232,16 +1222,12 @@ gtk_model_button_class_init (GtkModelButtonClass *class)
    * The name of a submenu to open when the button is activated.  * If this is set, the button should not have an action associated with it.
    */
   properties[PROP_MENU_NAME] =
-    g_param_spec_string ("menu-name",
-                         P_("Menu name"),
-                         P_("The name of the menu to open"),
+    g_param_spec_string ("menu-name", NULL, NULL,
                          NULL,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
  properties[PROP_POPOVER] =
-   g_param_spec_object ("popover",
-                        P_("Popover"),
-                        P_("Popover to open"),
+   g_param_spec_object ("popover", NULL, NULL,
                         GTK_TYPE_POPOVER,
                         G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -1253,9 +1239,7 @@ gtk_model_button_class_init (GtkModelButtonClass *class)
    * horizontal sections of linked buttons.
    */
   properties[PROP_ICONIC] =
-    g_param_spec_boolean ("iconic",
-                          P_("Iconic"),
-                          P_("Whether to prefer the icon over text"),
+    g_param_spec_boolean ("iconic", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -1267,15 +1251,11 @@ gtk_model_button_class_init (GtkModelButtonClass *class)
    * the model buttons in a menu.
    */
   properties[PROP_INDICATOR_SIZE_GROUP] =
-    g_param_spec_object ("indicator-size-group",
-                          P_("Size group"),
-                          P_("Size group for checks and radios"),
+    g_param_spec_object ("indicator-size-group", NULL, NULL,
                           GTK_TYPE_SIZE_GROUP,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
   properties[PROP_ACCEL] =
-    g_param_spec_string ("accel",
-                         P_("Accel"),
-                         P_("The accelerator"),
+    g_param_spec_string ("accel", NULL, NULL,
                          NULL,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
   g_object_class_install_properties (object_class, LAST_PROP, properties);
index 43760283b408c4f1c9e1b932f98a102fad0665ef..2d14523e6371cdec18d4eab1a025ed446be99b23 100644 (file)
@@ -169,9 +169,7 @@ gtk_mount_operation_class_init (GtkMountOperationClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_PARENT,
-                                   g_param_spec_object ("parent",
-                                                        P_("Parent"),
-                                                        P_("The parent window"),
+                                   g_param_spec_object ("parent", NULL, NULL,
                                                         GTK_TYPE_WINDOW,
                                                         GTK_PARAM_READWRITE));
 
@@ -182,9 +180,7 @@ gtk_mount_operation_class_init (GtkMountOperationClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_IS_SHOWING,
-                                   g_param_spec_boolean ("is-showing",
-                                                         P_("Is Showing"),
-                                                         P_("Are we showing a dialog"),
+                                   g_param_spec_boolean ("is-showing", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READABLE));
 
@@ -195,9 +191,7 @@ gtk_mount_operation_class_init (GtkMountOperationClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_DISPLAY,
-                                   g_param_spec_object ("display",
-                                                        P_("Display"),
-                                                        P_("The display where this window will be displayed."),
+                                   g_param_spec_object ("display", NULL, NULL,
                                                         GDK_TYPE_DISPLAY,
                                                         GTK_PARAM_READWRITE));
 }
index bee83622c6b9f31f3b4763c5dc0093fdd65e908a..9cf0356c9efb893e9af4cdbc0e6cf8a54f3e243f 100644 (file)
@@ -349,9 +349,7 @@ gtk_multi_selection_class_init (GtkMultiSelectionClass *klass)
    * The list managed by this selection.
    */
   properties[PROP_MODEL] =
-    g_param_spec_object ("model",
-                         P_("Model"),
-                         P_("List managed by this selection"),
+    g_param_spec_object ("model", NULL, NULL,
                          G_TYPE_LIST_MODEL,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index 1c687e07532919e17f339037a0a0b56c4ddd6903..ec389f2e5300ac0347ffb0f75182b91207b25d58 100644 (file)
@@ -208,9 +208,7 @@ gtk_native_dialog_class_init (GtkNativeDialogClass *class)
    * The title of the dialog window
    */
   native_props[PROP_TITLE] =
-    g_param_spec_string ("title",
-                         P_("Dialog Title"),
-                         P_("The title of the file chooser dialog"),
+    g_param_spec_string ("title", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE);
 
@@ -220,9 +218,7 @@ gtk_native_dialog_class_init (GtkNativeDialogClass *class)
    * Whether the window should be modal with respect to its transient parent.
    */
   native_props[PROP_MODAL] =
-    g_param_spec_boolean ("modal",
-                          P_("Modal"),
-                          P_("If TRUE, the dialog is modal (other windows are not usable while this one is up)"),
+    g_param_spec_boolean ("modal", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -232,9 +228,7 @@ gtk_native_dialog_class_init (GtkNativeDialogClass *class)
    * Whether the window is currently visible.
    */
   native_props[PROP_VISIBLE] =
-    g_param_spec_boolean ("visible",
-                          P_("Visible"),
-                          P_("Whether the dialog is currently visible"),
+    g_param_spec_boolean ("visible", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -244,9 +238,7 @@ gtk_native_dialog_class_init (GtkNativeDialogClass *class)
    * The transient parent of the dialog, or %NULL for none.
    */
   native_props[PROP_TRANSIENT_FOR] =
-    g_param_spec_object ("transient-for",
-                         P_("Transient for Window"),
-                         P_("The transient parent of the dialog"),
+    g_param_spec_object ("transient-for", NULL, NULL,
                          GTK_TYPE_WINDOW,
                          GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY);
 
index 9b48082d6a5c9870d35c0c9b4a40ca07e936483f..d17503b24724c605e6144b51605d778954d894f6 100644 (file)
@@ -197,9 +197,7 @@ gtk_no_selection_class_init (GtkNoSelectionClass *klass)
    * The model being managed.
    */
   properties[PROP_MODEL] =
-    g_param_spec_object ("model",
-                       P_("The model"),
-                       P_("The model being managed"),
+    g_param_spec_object ("model", NULL, NULL,
                        G_TYPE_LIST_MODEL,
                        G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
 
index 1ad109f4fe261f577d0086a735653d9ede71959c..694951eac98ebebb3c7c9c512f4f1b70168da8c5 100644 (file)
@@ -582,9 +582,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_CHILD,
-                                   g_param_spec_object ("child",
-                                                        P_("Child"),
-                                                        P_("The child for this page"),
+                                   g_param_spec_object ("child", NULL, NULL,
                                                         GTK_TYPE_WIDGET,
                                                         GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY));
 
@@ -595,9 +593,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_TAB,
-                                   g_param_spec_object ("tab",
-                                                        P_("Tab"),
-                                                        P_("The tab widget for this page"),
+                                   g_param_spec_object ("tab", NULL, NULL,
                                                         GTK_TYPE_WIDGET,
                                                         GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY));
 
@@ -608,9 +604,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_MENU,
-                                   g_param_spec_object ("menu",
-                                                        P_("Menu"),
-                                                        P_("The label widget displayed in the child’s menu entry"),
+                                   g_param_spec_object ("menu", NULL, NULL,
                                                         GTK_TYPE_WIDGET,
                                                         GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY));
 
@@ -621,9 +615,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_TAB_LABEL,
-                                   g_param_spec_string ("tab-label",
-                                                        P_("Tab label"),
-                                                        P_("The text of the tab widget"),
+                                   g_param_spec_string ("tab-label", NULL, NULL,
                                                         NULL,
                                                          GTK_PARAM_READWRITE));
 
@@ -634,9 +626,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_MENU_LABEL,
-                                   g_param_spec_string ("menu-label",
-                                                        P_("Menu label"),
-                                                        P_("The text of the menu widget"),
+                                   g_param_spec_string ("menu-label", NULL, NULL,
                                                         NULL,
                                                          GTK_PARAM_READWRITE));
 
@@ -647,9 +637,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_POSITION,
-                                   g_param_spec_int ("position",
-                                                     P_("Position"),
-                                                     P_("The index of the child in the parent"),
+                                   g_param_spec_int ("position", NULL, NULL,
                                                      -1, G_MAXINT, 0,
                                                      GTK_PARAM_READWRITE));
 
@@ -660,9 +648,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_TAB_EXPAND,
-                                   g_param_spec_boolean ("tab-expand",
-                                                         P_("Tab expand"),
-                                                         P_("Whether to expand the child’s tab"),
+                                   g_param_spec_boolean ("tab-expand", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -673,9 +659,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_TAB_FILL,
-                                   g_param_spec_boolean ("tab-fill",
-                                                         P_("Tab fill"),
-                                                         P_("Whether the child’s tab should fill the allocated area"),
+                                   g_param_spec_boolean ("tab-fill", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -686,9 +670,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_REORDERABLE,
-                                   g_param_spec_boolean ("reorderable",
-                                                         P_("Tab reorderable"),
-                                                         P_("Whether the tab is reorderable by user action"),
+                                   g_param_spec_boolean ("reorderable", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -699,9 +681,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
    */
   g_object_class_install_property (object_class,
                                    CHILD_PROP_DETACHABLE,
-                                   g_param_spec_boolean ("detachable",
-                                                         P_("Tab detachable"),
-                                                         P_("Whether the tab is detachable"),
+                                   g_param_spec_boolean ("detachable", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1122,9 +1102,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
    * The index of the current page.
    */
   properties[PROP_PAGE] =
-      g_param_spec_int ("page",
-                        P_("Page"),
-                        P_("The index of the current page"),
+      g_param_spec_int ("page", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1135,9 +1113,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
    * Which side of the notebook holds the tabs.
    */
   properties[PROP_TAB_POS] =
-      g_param_spec_enum ("tab-pos",
-                         P_("Tab Position"),
-                         P_("Which side of the notebook holds the tabs"),
+      g_param_spec_enum ("tab-pos", NULL, NULL,
                          GTK_TYPE_POSITION_TYPE,
                          GTK_POS_TOP,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1148,9 +1124,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
    * Whether tabs should be shown.
    */
   properties[PROP_SHOW_TABS] =
-      g_param_spec_boolean ("show-tabs",
-                            P_("Show Tabs"),
-                            P_("Whether tabs should be shown"),
+      g_param_spec_boolean ("show-tabs", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1160,9 +1134,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
    * Whether the border should be shown.
    */
   properties[PROP_SHOW_BORDER] =
-      g_param_spec_boolean ("show-border",
-                            P_("Show Border"),
-                            P_("Whether the border should be shown"),
+      g_param_spec_boolean ("show-border", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1172,9 +1144,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
    * If %TRUE, scroll arrows are added if there are too many pages to fit.
    */
   properties[PROP_SCROLLABLE] =
-      g_param_spec_boolean ("scrollable",
-                            P_("Scrollable"),
-                            P_("If TRUE, scroll arrows are added if there are too many tabs to fit"),
+      g_param_spec_boolean ("scrollable", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1184,9 +1154,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
    * If %TRUE, pressing the right mouse button on the notebook shows a page switching menu.
    */
   properties[PROP_ENABLE_POPUP] =
-      g_param_spec_boolean ("enable-popup",
-                            P_("Enable Popup"),
-                            P_("If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page"),
+      g_param_spec_boolean ("enable-popup", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1196,9 +1164,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
    * Group name for tab drag and drop.
    */
   properties[PROP_GROUP_NAME] =
-      g_param_spec_string ("group-name",
-                           P_("Group Name"),
-                           P_("Group name for tab drag and drop"),
+      g_param_spec_string ("group-name", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1208,9 +1174,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
    * A selection model with the pages.
    */
   properties[PROP_PAGES] = 
-      g_param_spec_object ("pages",
-                           P_("Pages"),
-                           P_("The pages of the notebook."),
+      g_param_spec_object ("pages", NULL, NULL,
                            G_TYPE_LIST_MODEL,
                            GTK_PARAM_READABLE);
 
index bc1227b343c5adc2dd94d3d0e457d8068501234b..966346c54d136791d56ff2f17bae4c1f75d055cb 100644 (file)
@@ -544,9 +544,7 @@ gtk_numeric_sorter_class_init (GtkNumericSorterClass *class)
    * The expression to evaluate on items to get a number to compare with.
    */
   properties[PROP_EXPRESSION] =
-    gtk_param_spec_expression ("expression",
-                               P_("Expression"),
-                               P_("Expression to compare with"),
+    gtk_param_spec_expression ("expression", NULL, NULL,
                                G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
   /**
@@ -555,9 +553,7 @@ gtk_numeric_sorter_class_init (GtkNumericSorterClass *class)
    * Whether the sorter will sort smaller numbers first.
    */
   properties[PROP_SORT_ORDER] =
-    g_param_spec_enum ("sort-order",
-                       P_("Sort order"),
-                       P_("Whether to sort smaller numbers first"),
+    g_param_spec_enum ("sort-order", NULL, NULL,
                        GTK_TYPE_SORT_TYPE,
                        GTK_SORT_ASCENDING,
                        G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
index c8b2a2f9d71d00014fab8c44c37b468964734330..d56b182143a8aff8d973e3ef90adef7d2ef1447a 100644 (file)
@@ -52,9 +52,7 @@ gtk_orientable_default_init (GtkOrientableInterface *iface)
    * The orientation of the orientable.
    **/
   g_object_interface_install_property (iface,
-                                       g_param_spec_enum ("orientation",
-                                                          P_("Orientation"),
-                                                          P_("The orientation of the orientable"),
+                                       g_param_spec_enum ("orientation", NULL, NULL,
                                                           GTK_TYPE_ORIENTATION,
                                                           GTK_ORIENTATION_HORIZONTAL,
                                                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
index 4fba2b476a911b9b5f2122edc6f8a29a18d6b11c..e1f4f128b24b7d75268d042451555c042d4c721f 100644 (file)
@@ -317,9 +317,7 @@ gtk_overlay_class_init (GtkOverlayClass *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_CHILD,
-                                   g_param_spec_object ("child",
-                                                        P_("Child"),
-                                                        P_("The child widget"),
+                                   g_param_spec_object ("child", NULL, NULL,
                                                         GTK_TYPE_WIDGET,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index 93c88c746dd4c28aaefb84feac006bed1823fb74..3d75d3082b419ad80bde69ef5c3ac6f3057c817b 100644 (file)
@@ -137,9 +137,7 @@ gtk_overlay_layout_child_class_init (GtkOverlayLayoutChildClass *klass)
    * measurement.
    */
   child_props[PROP_MEASURE] =
-    g_param_spec_boolean ("measure",
-                          P_("Measure"),
-                          P_("Include in size measurement"),
+    g_param_spec_boolean ("measure", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -149,9 +147,7 @@ gtk_overlay_layout_child_class_init (GtkOverlayLayoutChildClass *klass)
    * Whether the child should be clipped to fit the parent's size.
    */
   child_props[PROP_CLIP_OVERLAY] =
-    g_param_spec_boolean ("clip-overlay",
-                          P_("Clip Overlay"),
-                          P_("Clip the overlay child widget so as to fit the parent"),
+    g_param_spec_boolean ("clip-overlay", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index d49dc00e106ff48643fdd330eca7cbf46e7bafa5..6e5700a0a3d084e995b452f21c943aac05c7cb5c 100644 (file)
@@ -368,15 +368,11 @@ gtk_pad_controller_class_init (GtkPadControllerClass *klass)
   object_class->finalize = gtk_pad_controller_finalize;
 
   pspecs[PROP_ACTION_GROUP] =
-    g_param_spec_object ("action-group",
-                         P_("Action group"),
-                         P_("Action group to launch actions from"),
+    g_param_spec_object ("action-group", NULL, NULL,
                          G_TYPE_ACTION_GROUP,
                          GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
   pspecs[PROP_PAD] =
-    g_param_spec_object ("pad",
-                         P_("Pad device"),
-                         P_("Pad device to control"),
+    g_param_spec_object ("pad", NULL, NULL,
                          GDK_TYPE_DEVICE,
                          GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
 
index bc7591a3d75f427bc19630710f5391f4519a8504..e5508fc6453b4e4f2617fa64c2889fe3150d816f 100644 (file)
@@ -422,9 +422,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    * Position of the separator in pixels, from the left/top.
    */
   paned_props[PROP_POSITION] =
-    g_param_spec_int ("position",
-                      P_("Position"),
-                      P_("Position of paned separator in pixels (0 means all the way to the left/top)"),
+    g_param_spec_int ("position", NULL, NULL,
                       0, G_MAXINT, 0,
                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -434,9 +432,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    * Whether the [property@Gtk.Paned:position] property has been set.
    */
   paned_props[PROP_POSITION_SET] =
-    g_param_spec_boolean ("position-set",
-                          P_("Position Set"),
-                          P_("TRUE if the Position property should be used"),
+    g_param_spec_boolean ("position-set", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -450,9 +446,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    * of the widget's children.
    */
   paned_props[PROP_MIN_POSITION] =
-    g_param_spec_int ("min-position",
-                      P_("Minimal Position"),
-                      P_("Smallest possible value for the “position” property"),
+    g_param_spec_int ("min-position", NULL, NULL,
                       0, G_MAXINT, 0,
                       GTK_PARAM_READABLE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -466,9 +460,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    * of the widget's children.
    */
   paned_props[PROP_MAX_POSITION] =
-    g_param_spec_int ("max-position",
-                      P_("Maximal Position"),
-                      P_("Largest possible value for the “position” property"),
+    g_param_spec_int ("max-position", NULL, NULL,
                       0, G_MAXINT, G_MAXINT,
                       GTK_PARAM_READABLE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -481,9 +473,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    * [class@Gtk.Notebook]s, whose tab rows would otherwise merge visually.
    */
   paned_props[PROP_WIDE_HANDLE] =
-    g_param_spec_boolean ("wide-handle",
-                          P_("Wide Handle"),
-                          P_("Whether the paned should have a prominent handle"),
+    g_param_spec_boolean ("wide-handle", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -494,9 +484,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    * along with the paned widget.
    */
   paned_props[PROP_RESIZE_START_CHILD] =
-    g_param_spec_boolean ("resize-start-child",
-                          P_("Resize first child"),
-                          P_("If TRUE, the first child expands and shrinks along with the paned widget"),
+    g_param_spec_boolean ("resize-start-child", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -507,9 +495,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    * along with the paned widget.
    */
   paned_props[PROP_RESIZE_END_CHILD] =
-    g_param_spec_boolean ("resize-end-child",
-                          P_("Resize second child"),
-                          P_("If TRUE, the second child expands and shrinks along with the paned widget"),
+    g_param_spec_boolean ("resize-end-child", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -520,9 +506,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    * than its requisition.
    */
   paned_props[PROP_SHRINK_START_CHILD] =
-    g_param_spec_boolean ("shrink-start-child",
-                          P_("Shrink first child"),
-                          P_("If TRUE, the first child can be made smaller than its requisition"),
+    g_param_spec_boolean ("shrink-start-child", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -533,9 +517,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    * than its requisition.
    */
   paned_props[PROP_SHRINK_END_CHILD] =
-    g_param_spec_boolean ("shrink-end-child",
-                          P_("Shrink second child"),
-                          P_("If TRUE, the second child can be made smaller than its requisition"),
+    g_param_spec_boolean ("shrink-end-child", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -545,9 +527,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    * The first child.
    */
   paned_props[PROP_START_CHILD] =
-    g_param_spec_object ("start-child",
-                          P_("First child"),
-                          P_("The first child"),
+    g_param_spec_object ("start-child", NULL, NULL,
                           GTK_TYPE_WIDGET,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -557,9 +537,7 @@ gtk_paned_class_init (GtkPanedClass *class)
    * The second child.
    */
   paned_props[PROP_END_CHILD] =
-    g_param_spec_object ("end-child",
-                          P_("Second child"),
-                          P_("The second child"),
+    g_param_spec_object ("end-child", NULL, NULL,
                           GTK_TYPE_WIDGET,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index f0b90f942f9d11424cb20f0f0a95c519b0d3ccc7..b0ab04836fcc911d5458f2d31e9686772d1f2ab2 100644 (file)
@@ -463,9 +463,7 @@ gtk_password_entry_class_init (GtkPasswordEntryClass *klass)
    * when it is empty and unfocused.
    */
   props[PROP_PLACEHOLDER_TEXT] =
-      g_param_spec_string ("placeholder-text",
-                           P_("Placeholder text"),
-                           P_("Show text in the entry when it’s empty and unfocused"),
+      g_param_spec_string ("placeholder-text", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
@@ -475,9 +473,7 @@ gtk_password_entry_class_init (GtkPasswordEntryClass *klass)
    * Whether to activate the default widget when Enter is pressed.
    */
   props[PROP_ACTIVATES_DEFAULT] =
-      g_param_spec_boolean ("activates-default",
-                            P_("Activates default"),
-                            P_("Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed"),
+      g_param_spec_boolean ("activates-default", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -487,9 +483,7 @@ gtk_password_entry_class_init (GtkPasswordEntryClass *klass)
    * Whether to show an icon for revealing the content.
    */
   props[PROP_SHOW_PEEK_ICON] =
-      g_param_spec_boolean ("show-peek-icon",
-                            P_("Show Peek Icon"),
-                            P_("Whether to show an icon for revealing the content"),
+      g_param_spec_boolean ("show-peek-icon", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -500,9 +494,7 @@ gtk_password_entry_class_init (GtkPasswordEntryClass *klass)
    * the context menu.
    */
   props[PROP_EXTRA_MENU] =
-      g_param_spec_object ("extra-menu",
-                           P_("Extra menu"),
-                           P_("Model menu to append to the context menu"),
+      g_param_spec_object ("extra-menu", NULL, NULL,
                            G_TYPE_MENU_MODEL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index cf7cd61f835a1442acff5f5063d4e7c97837e1af..8de6cc0832f5a3d91bd1546bbedb5b527fd6e3e8 100644 (file)
@@ -328,9 +328,7 @@ gtk_picture_class_init (GtkPictureClass *class)
    * The `GdkPaintable` to be displayed by this `GtkPicture`.
    */
   properties[PROP_PAINTABLE] =
-      g_param_spec_object ("paintable",
-                           P_("Paintable"),
-                           P_("The GdkPaintable to display"),
+      g_param_spec_object ("paintable", NULL, NULL,
                            GDK_TYPE_PAINTABLE,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -340,9 +338,7 @@ gtk_picture_class_init (GtkPictureClass *class)
    * The `GFile` that is displayed or %NULL if none.
    */
   properties[PROP_FILE] =
-      g_param_spec_object ("file",
-                           P_("File"),
-                           P_("File to load and display"),
+      g_param_spec_object ("file", NULL, NULL,
                            G_TYPE_FILE,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -352,9 +348,7 @@ gtk_picture_class_init (GtkPictureClass *class)
    * The alternative textual description for the picture.
    */
   properties[PROP_ALTERNATIVE_TEXT] =
-      g_param_spec_string ("alternative-text",
-                           P_("Alternative text"),
-                           P_("The alternative textual description"),
+      g_param_spec_string ("alternative-text", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -365,9 +359,7 @@ gtk_picture_class_init (GtkPictureClass *class)
    * ratio.
    */
   properties[PROP_KEEP_ASPECT_RATIO] =
-      g_param_spec_boolean ("keep-aspect-ratio",
-                            P_("Keep aspect ratio"),
-                            P_("Render contents respecting the aspect ratio"),
+      g_param_spec_boolean ("keep-aspect-ratio", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -377,9 +369,7 @@ gtk_picture_class_init (GtkPictureClass *class)
    * If the `GtkPicture` can be made smaller than the natural size of its contents.
    */
   properties[PROP_CAN_SHRINK] =
-      g_param_spec_boolean ("can-shrink",
-                            P_("Can shrink"),
-                            P_("Allow self to be smaller than contents"),
+      g_param_spec_boolean ("can-shrink", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 89f5b69ff1310442342bcbdba4ba8ec2e3d6b992..f4d28454a187f5ccae9600ebd8e7f12a85712699 100644 (file)
@@ -4324,52 +4324,36 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class)
                         GTK_TYPE_PLACES_OPEN_FLAGS);
 
   properties[PROP_LOCATION] =
-          g_param_spec_object ("location",
-                               P_("Location to Select"),
-                               P_("The location to highlight in the sidebar"),
+          g_param_spec_object ("location", NULL, NULL,
                                G_TYPE_FILE,
                                GTK_PARAM_READWRITE);
   properties[PROP_OPEN_FLAGS] =
-          g_param_spec_flags ("open-flags",
-                              P_("Open Flags"),
-                              P_("Modes in which the calling application can open locations selected in the sidebar"),
+          g_param_spec_flags ("open-flags", NULL, NULL,
                               GTK_TYPE_PLACES_OPEN_FLAGS,
                               GTK_PLACES_OPEN_NORMAL,
                               GTK_PARAM_READWRITE);
   properties[PROP_SHOW_RECENT] =
-          g_param_spec_boolean ("show-recent",
-                                P_("Show recent files"),
-                                P_("Whether the sidebar includes a builtin shortcut for recent files"),
+          g_param_spec_boolean ("show-recent", NULL, NULL,
                                 TRUE,
                                 GTK_PARAM_READWRITE);
   properties[PROP_SHOW_DESKTOP] =
-          g_param_spec_boolean ("show-desktop",
-                                P_("Show “Desktop”"),
-                                P_("Whether the sidebar includes a builtin shortcut to the Desktop folder"),
+          g_param_spec_boolean ("show-desktop", NULL, NULL,
                                 TRUE,
                                 GTK_PARAM_READWRITE);
   properties[PROP_SHOW_ENTER_LOCATION] =
-          g_param_spec_boolean ("show-enter-location",
-                                P_("Show “Enter Location”"),
-                                P_("Whether the sidebar includes a builtin shortcut to manually enter a location"),
+          g_param_spec_boolean ("show-enter-location", NULL, NULL,
                                 FALSE,
                                 GTK_PARAM_READWRITE);
   properties[PROP_SHOW_TRASH] =
-          g_param_spec_boolean ("show-trash",
-                                P_("Show “Trash”"),
-                                P_("Whether the sidebar includes a builtin shortcut to the Trash location"),
+          g_param_spec_boolean ("show-trash", NULL, NULL,
                                 TRUE,
                                 GTK_PARAM_READWRITE);
   properties[PROP_SHOW_OTHER_LOCATIONS] =
-          g_param_spec_boolean ("show-other-locations",
-                                P_("Show “Other locations”"),
-                                P_("Whether the sidebar includes an item to show external locations"),
+          g_param_spec_boolean ("show-other-locations", NULL, NULL,
                                 TRUE,
                                 GTK_PARAM_READWRITE);
   properties[PROP_SHOW_STARRED_LOCATION] =
-          g_param_spec_boolean ("show-starred-location",
-                                P_("Show “Starred Location”"),
-                                P_("Whether the sidebar includes an item to show starred files"),
+          g_param_spec_boolean ("show-starred-location", NULL, NULL,
                                 FALSE,
                                 GTK_PARAM_READWRITE);
 
index cb13276513c502202aab5284e3f4cd8ed5e299a5..d62f8f2a40d88684a3b790cc0849eaad6b2d7820 100644 (file)
@@ -2244,23 +2244,17 @@ gtk_places_view_class_init (GtkPlacesViewClass *klass)
                         G_TYPE_STRING);
 
   properties[PROP_LOADING] =
-          g_param_spec_boolean ("loading",
-                                P_("Loading"),
-                                P_("Whether the view is loading locations"),
+          g_param_spec_boolean ("loading", NULL, NULL,
                                 FALSE,
                                 GTK_PARAM_READABLE);
 
   properties[PROP_FETCHING_NETWORKS] =
-          g_param_spec_boolean ("fetching-networks",
-                                P_("Fetching networks"),
-                                P_("Whether the view is fetching networks"),
+          g_param_spec_boolean ("fetching-networks", NULL, NULL,
                                 FALSE,
                                 GTK_PARAM_READABLE);
 
   properties[PROP_OPEN_FLAGS] =
-          g_param_spec_flags ("open-flags",
-                              P_("Open Flags"),
-                              P_("Modes in which the calling application can open locations selected in the sidebar"),
+          g_param_spec_flags ("open-flags", NULL, NULL,
                               GTK_TYPE_PLACES_OPEN_FLAGS,
                               GTK_PLACES_OPEN_NORMAL,
                               GTK_PARAM_READWRITE);
index 51af16c465f96b44adc7d448970bcf4de1612c9f..d48a422e26f39715bafa7694755bb20727260297 100644 (file)
@@ -336,51 +336,37 @@ gtk_places_view_row_class_init (GtkPlacesViewRowClass *klass)
   widget_class->size_allocate = gtk_places_view_row_size_allocate;
 
   properties[PROP_ICON] =
-          g_param_spec_object ("icon",
-                               P_("Icon of the row"),
-                               P_("The icon representing the volume"),
+          g_param_spec_object ("icon", NULL, NULL,
                                G_TYPE_ICON,
                                G_PARAM_READWRITE);
 
   properties[PROP_NAME] =
-          g_param_spec_string ("name",
-                               P_("Name of the volume"),
-                               P_("The name of the volume"),
+          g_param_spec_string ("name", NULL, NULL,
                                "",
                                G_PARAM_READWRITE);
 
   properties[PROP_PATH] =
-          g_param_spec_string ("path",
-                               P_("Path of the volume"),
-                               P_("The path of the volume"),
+          g_param_spec_string ("path", NULL, NULL,
                                "",
                                G_PARAM_READWRITE);
 
   properties[PROP_VOLUME] =
-          g_param_spec_object ("volume",
-                               P_("Volume represented by the row"),
-                               P_("The volume represented by the row"),
+          g_param_spec_object ("volume", NULL, NULL,
                                G_TYPE_VOLUME,
                                G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
 
   properties[PROP_MOUNT] =
-          g_param_spec_object ("mount",
-                               P_("Mount represented by the row"),
-                               P_("The mount point represented by the row, if any"),
+          g_param_spec_object ("mount", NULL, NULL,
                                G_TYPE_MOUNT,
                                G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
 
   properties[PROP_FILE] =
-          g_param_spec_object ("file",
-                               P_("File represented by the row"),
-                               P_("The file represented by the row, if any"),
+          g_param_spec_object ("file", NULL, NULL,
                                G_TYPE_FILE,
                                G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
 
   properties[PROP_IS_NETWORK] =
-          g_param_spec_boolean ("is-network",
-                                P_("Whether the row represents a network location"),
-                                P_("Whether the row represents a network location"),
+          g_param_spec_boolean ("is-network", NULL, NULL,
                                 FALSE,
                                 G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
 
index 2f4a33493e40afbcf4edb558394fa3a415e9522d..d6f976daa7bda8400d3e9b97f5c9afa23ac1f235 100644 (file)
@@ -1817,9 +1817,7 @@ gtk_popover_class_init (GtkPopoverClass *klass)
    * Rectangle in the parent widget that the popover points to.
    */
   properties[PROP_POINTING_TO] =
-      g_param_spec_boxed ("pointing-to",
-                          P_("Pointing to"),
-                          P_("Rectangle the bubble window points to"),
+      g_param_spec_boxed ("pointing-to", NULL, NULL,
                           GDK_TYPE_RECTANGLE,
                           GTK_PARAM_READWRITE);
 
@@ -1829,9 +1827,7 @@ gtk_popover_class_init (GtkPopoverClass *klass)
    * How to place the popover, relative to its parent.
    */
   properties[PROP_POSITION] =
-      g_param_spec_enum ("position",
-                         P_("Position"),
-                         P_("Position to place the bubble window"),
+      g_param_spec_enum ("position", NULL, NULL,
                          GTK_TYPE_POSITION_TYPE, GTK_POS_BOTTOM,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1841,9 +1837,7 @@ gtk_popover_class_init (GtkPopoverClass *klass)
    * Whether to dismiss the popover on outside clicks.
    */
   properties[PROP_AUTOHIDE] =
-      g_param_spec_boolean ("autohide",
-                            P_("Autohide"),
-                            P_("Whether to dismiss the popover on outside clicks"),
+      g_param_spec_boolean ("autohide", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1853,9 +1847,7 @@ gtk_popover_class_init (GtkPopoverClass *klass)
    * The default widget inside the popover.
    */
   properties[PROP_DEFAULT_WIDGET] =
-      g_param_spec_object ("default-widget",
-                           P_("Default widget"),
-                           P_("The default widget"),
+      g_param_spec_object ("default-widget", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1865,9 +1857,7 @@ gtk_popover_class_init (GtkPopoverClass *klass)
    * Whether to draw an arrow.
    */
   properties[PROP_HAS_ARROW] =
-      g_param_spec_boolean ("has-arrow",
-                            P_("Has Arrow"),
-                            P_("Whether to draw an arrow"),
+      g_param_spec_boolean ("has-arrow", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1877,9 +1867,7 @@ gtk_popover_class_init (GtkPopoverClass *klass)
    * Whether mnemonics are currently visible in this popover.
    */
   properties[PROP_MNEMONICS_VISIBLE] =
-      g_param_spec_boolean ("mnemonics-visible",
-                            P_("Mnemonics visible"),
-                            P_("Whether mnemonics are currently visible in this popover"),
+      g_param_spec_boolean ("mnemonics-visible", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1889,9 +1877,7 @@ gtk_popover_class_init (GtkPopoverClass *klass)
    * The child widget.
    */
   properties[PROP_CHILD] =
-      g_param_spec_object ("child",
-                           P_("Child"),
-                           P_("The child widget"),
+      g_param_spec_object ("child", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1903,9 +1889,7 @@ gtk_popover_class_init (GtkPopoverClass *klass)
    * This is used to implement the expected behavior of submenus.
    */
   properties[PROP_CASCADE_POPDOWN] =
-      g_param_spec_boolean ("cascade-popdown",
-                            P_("Cascade popdown"),
-                            P_("Whether the popover pops down after a child popover"),
+      g_param_spec_boolean ("cascade-popdown", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index b2b9aab1aecbd54b3f19f0fedac2edb1b48a6c58..7b5a02cd7c0975d5696dd9679419aacc4a280d90 100644 (file)
@@ -595,9 +595,7 @@ gtk_popover_menu_class_init (GtkPopoverMenuClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_VISIBLE_SUBMENU,
-                                   g_param_spec_string ("visible-submenu",
-                                                        P_("Visible submenu"),
-                                                        P_("The name of the visible submenu"),
+                                   g_param_spec_string ("visible-submenu", NULL, NULL,
                                                         NULL,
                                                         G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -608,9 +606,7 @@ gtk_popover_menu_class_init (GtkPopoverMenuClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_MENU_MODEL,
-                                   g_param_spec_object ("menu-model",
-                                                        P_("Menu model"),
-                                                        P_("The model from which the menu is made."),
+                                   g_param_spec_object ("menu-model", NULL, NULL,
                                                         G_TYPE_MENU_MODEL,
                                                         G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
index a3fbd8fb091ceb0c7d47edd37a5b8cc985fd6bec..2df1a228584b837b313cd4f5c9c30c7e2edbc845 100644 (file)
@@ -632,9 +632,7 @@ gtk_popover_menu_bar_class_init (GtkPopoverMenuBarClass *klass)
    * The model should only contain submenus as toplevel elements.
    */
   bar_props[PROP_MENU_MODEL] =
-      g_param_spec_object ("menu-model",
-                           P_("Menu model"),
-                           P_("The model from which the bar is made."),
+      g_param_spec_object ("menu-model", NULL, NULL,
                            G_TYPE_MENU_MODEL,
                            GTK_PARAM_READWRITE);
 
index 9e84ba3088cfdf25360460c4ba7fe3fa7ccae15a..9e628a570443179ff3bbabee4f1fbd01b7ab408e 100644 (file)
@@ -268,9 +268,7 @@ gtk_print_backend_class_init (GtkPrintBackendClass *class)
   
   g_object_class_install_property (object_class, 
                                    PROP_STATUS,
-                                   g_param_spec_int ("status",
-                                                     "Status",
-                                                     "The status of the print backend",
+                                   g_param_spec_int ("status", NULL, NULL,
                                                      GTK_PRINT_BACKEND_STATUS_UNKNOWN,
                                                      GTK_PRINT_BACKEND_STATUS_UNAVAILABLE,
                                                      GTK_PRINT_BACKEND_STATUS_UNKNOWN,
index 15076371578963fd30955ac4dfc8f790348d9ebe..0593d1573a5c4ddc1c6620e50509f7c8f3b4358d 100644 (file)
@@ -119,9 +119,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
    */
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_NAME,
-                                   g_param_spec_string ("name",
-                                                       P_("Name"),
-                                                       P_("Name of the printer"),
+                                   g_param_spec_string ("name", NULL, NULL,
                                                        "",
                                                        GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -132,9 +130,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
    */
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_BACKEND,
-                                   g_param_spec_object ("backend",
-                                                       P_("Backend"),
-                                                       P_("Backend for the printer"),
+                                   g_param_spec_object ("backend", NULL, NULL,
                                                        GTK_TYPE_PRINT_BACKEND,
                                                        GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -145,9 +141,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
    */
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_IS_VIRTUAL,
-                                   g_param_spec_boolean ("is-virtual",
-                                                        P_("Is Virtual"),
-                                                        P_("FALSE if this represents a real hardware printer"),
+                                   g_param_spec_boolean ("is-virtual", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -158,9 +152,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
    */
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_ACCEPTS_PDF,
-                                   g_param_spec_boolean ("accepts-pdf",
-                                                        P_("Accepts PDF"),
-                                                        P_("TRUE if this printer can accept PDF"),
+                                   g_param_spec_boolean ("accepts-pdf", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -171,9 +163,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
    */
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_ACCEPTS_PS,
-                                   g_param_spec_boolean ("accepts-ps",
-                                                        P_("Accepts PostScript"),
-                                                        P_("TRUE if this printer can accept PostScript"),
+                                   g_param_spec_boolean ("accepts-ps", NULL, NULL,
                                                         TRUE,
                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -184,9 +174,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
    */
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_STATE_MESSAGE,
-                                   g_param_spec_string ("state-message",
-                                                       P_("State Message"),
-                                                       P_("String giving the current state of the printer"),
+                                   g_param_spec_string ("state-message", NULL, NULL,
                                                        "",
                                                        GTK_PARAM_READABLE));
 
@@ -197,9 +185,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
    */
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_LOCATION,
-                                   g_param_spec_string ("location",
-                                                       P_("Location"),
-                                                       P_("The location of the printer"),
+                                   g_param_spec_string ("location", NULL, NULL,
                                                        "",
                                                        GTK_PARAM_READABLE));
 
@@ -210,9 +196,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
    */
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_ICON_NAME,
-                                   g_param_spec_string ("icon-name",
-                                                       P_("Icon Name"),
-                                                       P_("The icon name to use for the printer"),
+                                   g_param_spec_string ("icon-name", NULL, NULL,
                                                        "printer",
                                                        GTK_PARAM_READABLE));
 
@@ -223,9 +207,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
    */
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_JOB_COUNT,
-                                  g_param_spec_int ("job-count",
-                                                    P_("Job Count"),
-                                                    P_("Number of jobs queued in the printer"),
+                                  g_param_spec_int ("job-count", NULL, NULL,
                                                     0,
                                                     G_MAXINT,
                                                     0,
@@ -241,9 +223,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
    */
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_PAUSED,
-                                   g_param_spec_boolean ("paused",
-                                                        P_("Paused Printer"),
-                                                        P_("TRUE if this printer is paused"),
+                                   g_param_spec_boolean ("paused", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READABLE));
 
@@ -254,9 +234,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
    */
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_ACCEPTING_JOBS,
-                                   g_param_spec_boolean ("accepting-jobs",
-                                                        P_("Accepting Jobs"),
-                                                        P_("TRUE if this printer is accepting new jobs"),
+                                   g_param_spec_boolean ("accepting-jobs", NULL, NULL,
                                                         TRUE,
                                                         GTK_PARAM_READABLE));
 
index 3844fad59346650ae94a69ee3efd66f330b0cb95..7140c1f737f4719943511d1c7f58be07a2f6e754 100644 (file)
@@ -99,9 +99,7 @@ gtk_printer_option_class_init (GtkPrinterOptionClass *class)
 
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_VALUE,
-                                   g_param_spec_string ("value",
-                                                        P_("Option Value"),
-                                                        P_("Value of the option"),
+                                   g_param_spec_string ("value", NULL, NULL,
                                                         "",
                                                         GTK_PARAM_READWRITE));
 }
index 0ccb6caedab96d1f6a25a6b338700cc0c2745d6b..0ddef897abf73010decfa49d66e79ae5d8d9e228 100644 (file)
@@ -125,9 +125,7 @@ gtk_printer_option_widget_class_init (GtkPrinterOptionWidgetClass *class)
 
   g_object_class_install_property (object_class,
                                    PROP_SOURCE,
-                                   g_param_spec_object ("source",
-                                                       P_("Source option"),
-                                                       P_("The PrinterOption backing this widget"),
+                                   g_param_spec_object ("source", NULL, NULL,
                                                        GTK_TYPE_PRINTER_OPTION,
                                                        GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT));
 
@@ -359,13 +357,13 @@ gtk_string_pair_class_init (GtkStringPairClass *class)
   object_class->set_property = gtk_string_pair_set_property;
   object_class->get_property = gtk_string_pair_get_property;
 
-  pspec = g_param_spec_string ("string", "String", "String",
+  pspec = g_param_spec_string ("string", NULL, NULL,
                                NULL,
                                G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
 
   g_object_class_install_property (object_class, PROP_STRING, pspec);
 
-  pspec = g_param_spec_string ("id", "ID", "ID",
+  pspec = g_param_spec_string ("id", NULL, NULL,
                                NULL,
                                G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
 
index d04c506a7efef2c73f2de1d147303e586a60ff5a..c9441948d56e94e29e08e5dc5e8991b9e8e70b13 100644 (file)
@@ -143,9 +143,7 @@ gtk_print_job_class_init (GtkPrintJobClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_TITLE,
-                                   g_param_spec_string ("title",
-                                                       P_("Title"),
-                                                       P_("Title of the print job"),
+                                   g_param_spec_string ("title", NULL, NULL,
                                                        NULL,
                                                        GTK_PARAM_READWRITE |
                                                        G_PARAM_CONSTRUCT_ONLY));
@@ -157,9 +155,7 @@ gtk_print_job_class_init (GtkPrintJobClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_PRINTER,
-                                   g_param_spec_object ("printer",
-                                                       P_("Printer"),
-                                                       P_("Printer to print the job to"),
+                                   g_param_spec_object ("printer", NULL, NULL,
                                                        GTK_TYPE_PRINTER,
                                                        GTK_PARAM_READWRITE |
                                                        G_PARAM_CONSTRUCT_ONLY));
@@ -171,9 +167,7 @@ gtk_print_job_class_init (GtkPrintJobClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_SETTINGS,
-                                   g_param_spec_object ("settings",
-                                                       P_("Settings"),
-                                                       P_("Printer settings"),
+                                   g_param_spec_object ("settings", NULL, NULL,
                                                        GTK_TYPE_PRINT_SETTINGS,
                                                        GTK_PARAM_READWRITE |
                                                        G_PARAM_CONSTRUCT_ONLY));
@@ -185,9 +179,7 @@ gtk_print_job_class_init (GtkPrintJobClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_PAGE_SETUP,
-                                   g_param_spec_object ("page-setup",
-                                                       P_("Page Setup"),
-                                                       P_("Page Setup"),
+                                   g_param_spec_object ("page-setup", NULL, NULL,
                                                        GTK_TYPE_PAGE_SETUP,
                                                        GTK_PARAM_READWRITE |
                                                        G_PARAM_CONSTRUCT_ONLY));
@@ -200,11 +192,7 @@ gtk_print_job_class_init (GtkPrintJobClass *class)
    */
   g_object_class_install_property (object_class,
                                   PROP_TRACK_PRINT_STATUS,
-                                  g_param_spec_boolean ("track-print-status",
-                                                        P_("Track Print Status"),
-                                                        P_("TRUE if the print job will continue to emit "
-                                                           "status-changed signals after the print data "
-                                                           "has been sent to the printer or print server."),
+                                  g_param_spec_boolean ("track-print-status", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE));
 
index d3a7be011e796899b620aabbc95b906d7c4a062d..365bb91ee1628a9be3df7e12c0dd690858292721 100644 (file)
@@ -1082,9 +1082,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_DEFAULT_PAGE_SETUP,
-                                  g_param_spec_object ("default-page-setup",
-                                                       P_("Default Page Setup"),
-                                                       P_("The GtkPageSetup used by default"),
+                                  g_param_spec_object ("default-page-setup", NULL, NULL,
                                                        GTK_TYPE_PAGE_SETUP,
                                                        GTK_PARAM_READWRITE));
 
@@ -1099,9 +1097,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_PRINT_SETTINGS,
-                                  g_param_spec_object ("print-settings",
-                                                       P_("Print Settings"),
-                                                       P_("The GtkPrintSettings used for initializing the dialog"),
+                                  g_param_spec_object ("print-settings", NULL, NULL,
                                                        GTK_TYPE_PRINT_SETTINGS,
                                                        GTK_PARAM_READWRITE));
 
@@ -1116,9 +1112,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_JOB_NAME,
-                                  g_param_spec_string ("job-name",
-                                                       P_("Job Name"),
-                                                       P_("A string used for identifying the print job."),
+                                  g_param_spec_string ("job-name", NULL, NULL,
                                                        "",
                                                        GTK_PARAM_READWRITE));
 
@@ -1139,9 +1133,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_N_PAGES,
-                                  g_param_spec_int ("n-pages",
-                                                    P_("Number of Pages"),
-                                                    P_("The number of pages in the document."),
+                                  g_param_spec_int ("n-pages", NULL, NULL,
                                                     -1,
                                                     G_MAXINT,
                                                     -1,
@@ -1159,9 +1151,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_CURRENT_PAGE,
-                                  g_param_spec_int ("current-page",
-                                                    P_("Current Page"),
-                                                    P_("The current page in the document"),
+                                  g_param_spec_int ("current-page", NULL, NULL,
                                                     -1,
                                                     G_MAXINT,
                                                     -1,
@@ -1181,9 +1171,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_USE_FULL_PAGE,
-                                  g_param_spec_boolean ("use-full-page",
-                                                        P_("Use full page"),
-                                                        P_("TRUE if the origin of the context should be at the corner of the page and not the corner of the imageable area"),
+                                  g_param_spec_boolean ("use-full-page", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1200,9 +1188,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_TRACK_PRINT_STATUS,
-                                  g_param_spec_boolean ("track-print-status",
-                                                        P_("Track Print Status"),
-                                                        P_("TRUE if the print operation will continue to report on the print job status after the print data has been sent to the printer or print server."),
+                                  g_param_spec_boolean ("track-print-status", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1215,9 +1201,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_UNIT,
-                                  g_param_spec_enum ("unit",
-                                                     P_("Unit"),
-                                                     P_("The unit in which distances can be measured in the context"),
+                                  g_param_spec_enum ("unit", NULL, NULL,
                                                      GTK_TYPE_UNIT,
                                                      GTK_UNIT_NONE,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
@@ -1230,9 +1214,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_SHOW_PROGRESS,
-                                  g_param_spec_boolean ("show-progress",
-                                                        P_("Show Dialog"),
-                                                        P_("TRUE if a progress dialog is shown while printing."),
+                                  g_param_spec_boolean ("show-progress", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1252,9 +1234,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_ALLOW_ASYNC,
-                                  g_param_spec_boolean ("allow-async",
-                                                        P_("Allow Async"),
-                                                        P_("TRUE if print process may run asynchronous."),
+                                  g_param_spec_boolean ("allow-async", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1274,9 +1254,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_EXPORT_FILENAME,
-                                  g_param_spec_string ("export-filename",
-                                                       P_("Export filename"),
-                                                       P_("Export filename"),
+                                  g_param_spec_string ("export-filename", NULL, NULL,
                                                        NULL,
                                                        GTK_PARAM_READWRITE));
 
@@ -1287,9 +1265,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_STATUS,
-                                  g_param_spec_enum ("status",
-                                                     P_("Status"),
-                                                     P_("The status of the print operation"),
+                                  g_param_spec_enum ("status", NULL, NULL,
                                                      GTK_TYPE_PRINT_STATUS,
                                                      GTK_PRINT_STATUS_INITIAL,
                                                      GTK_PARAM_READABLE|G_PARAM_EXPLICIT_NOTIFY));
@@ -1307,9 +1283,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_STATUS_STRING,
-                                  g_param_spec_string ("status-string",
-                                                       P_("Status String"),
-                                                       P_("A human-readable description of the status"),
+                                  g_param_spec_string ("status-string", NULL, NULL,
                                                        "",
                                                        GTK_PARAM_READABLE));
   
@@ -1325,9 +1299,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_CUSTOM_TAB_LABEL,
-                                  g_param_spec_string ("custom-tab-label",
-                                                       P_("Custom tab label"),
-                                                       P_("Label for the tab containing custom widgets."),
+                                  g_param_spec_string ("custom-tab-label", NULL, NULL,
                                                        NULL,
                                                        GTK_PARAM_READWRITE));
 
@@ -1340,9 +1312,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_SUPPORT_SELECTION,
-                                  g_param_spec_boolean ("support-selection",
-                                                        P_("Support Selection"),
-                                                        P_("TRUE if the print operation will support print of selection."),
+                                  g_param_spec_boolean ("support-selection", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1356,9 +1326,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_HAS_SELECTION,
-                                  g_param_spec_boolean ("has-selection",
-                                                        P_("Has Selection"),
-                                                        P_("TRUE if a selection exists."),
+                                  g_param_spec_boolean ("has-selection", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1371,9 +1339,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_EMBED_PAGE_SETUP,
-                                  g_param_spec_boolean ("embed-page-setup",
-                                                        P_("Embed Page Setup"),
-                                                        P_("TRUE if page setup combos are embedded in GtkPrintUnixDialog"),
+                                  g_param_spec_boolean ("embed-page-setup", NULL, NULL,
                                                         FALSE,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1393,9 +1359,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_N_PAGES_TO_PRINT,
-                                  g_param_spec_int ("n-pages-to-print",
-                                                    P_("Number of Pages To Print"),
-                                                    P_("The number of pages that will be printed."),
+                                  g_param_spec_int ("n-pages-to-print", NULL, NULL,
                                                     -1,
                                                     G_MAXINT,
                                                     -1,
index d6c98d41ecc4a9aff9017a2de09a6f8de891692a..14c15264ad984faf01c2f6fe2f66aa680ea52227 100644 (file)
@@ -383,9 +383,7 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_PAGE_SETUP,
-                                   g_param_spec_object ("page-setup",
-                                                        P_("Page Setup"),
-                                                        P_("The GtkPageSetup to use"),
+                                   g_param_spec_object ("page-setup", NULL, NULL,
                                                         GTK_TYPE_PAGE_SETUP,
                                                         GTK_PARAM_READWRITE));
 
@@ -396,9 +394,7 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_CURRENT_PAGE,
-                                   g_param_spec_int ("current-page",
-                                                     P_("Current Page"),
-                                                     P_("The current page in the document"),
+                                   g_param_spec_int ("current-page", NULL, NULL,
                                                      -1,
                                                      G_MAXINT,
                                                      -1,
@@ -411,9 +407,7 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_PRINT_SETTINGS,
-                                   g_param_spec_object ("print-settings",
-                                                        P_("Print Settings"),
-                                                        P_("The GtkPrintSettings used for initializing the dialog"),
+                                   g_param_spec_object ("print-settings", NULL, NULL,
                                                         GTK_TYPE_PRINT_SETTINGS,
                                                         GTK_PARAM_READWRITE));
 
@@ -424,9 +418,7 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_SELECTED_PRINTER,
-                                   g_param_spec_object ("selected-printer",
-                                                        P_("Selected Printer"),
-                                                        P_("The GtkPrinter which is selected"),
+                                   g_param_spec_object ("selected-printer", NULL, NULL,
                                                         GTK_TYPE_PRINTER,
                                                         GTK_PARAM_READABLE));
 
@@ -437,9 +429,7 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_MANUAL_CAPABILITIES,
-                                   g_param_spec_flags ("manual-capabilities",
-                                                       P_("Manual Capabilities"),
-                                                       P_("Capabilities the application can handle"),
+                                   g_param_spec_flags ("manual-capabilities", NULL, NULL,
                                                        GTK_TYPE_PRINT_CAPABILITIES,
                                                        0,
                                                        GTK_PARAM_READWRITE));
@@ -451,9 +441,7 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_SUPPORT_SELECTION,
-                                   g_param_spec_boolean ("support-selection",
-                                                         P_("Support Selection"),
-                                                         P_("Whether the dialog supports selection"),
+                                   g_param_spec_boolean ("support-selection", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
@@ -464,9 +452,7 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_HAS_SELECTION,
-                                   g_param_spec_boolean ("has-selection",
-                                                         P_("Has Selection"),
-                                                         P_("Whether the application has a selection"),
+                                   g_param_spec_boolean ("has-selection", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
@@ -477,9 +463,7 @@ gtk_print_unix_dialog_class_init (GtkPrintUnixDialogClass *class)
     */
    g_object_class_install_property (object_class,
                                    PROP_EMBED_PAGE_SETUP,
-                                   g_param_spec_boolean ("embed-page-setup",
-                                                         P_("Embed Page Setup"),
-                                                         P_("TRUE if page setup combos are embedded in GtkPrintUnixDialog"),
+                                   g_param_spec_boolean ("embed-page-setup", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
index ba5897821cae81ecc0adad1b9af77ee3c2e3b624..ac4526971fd8285905874c1db5e3cdfabdc8f91a 100644 (file)
@@ -184,9 +184,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
    * Invert the direction in which the progress bar grows.
    */
   progress_props[PROP_INVERTED] =
-      g_param_spec_boolean ("inverted",
-                            P_("Inverted"),
-                            P_("Invert the direction in which the progress bar grows"),
+      g_param_spec_boolean ("inverted", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -196,9 +194,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
    * The fraction of total work that has been completed.
    */
   progress_props[PROP_FRACTION] =
-      g_param_spec_double ("fraction",
-                           P_("Fraction"),
-                           P_("The fraction of total work that has been completed"),
+      g_param_spec_double ("fraction", NULL, NULL,
                            0.0, 1.0,
                            0.0,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -209,9 +205,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
    * The fraction of total progress to move the bounding block when pulsed.
    */
   progress_props[PROP_PULSE_STEP] =
-      g_param_spec_double ("pulse-step",
-                           P_("Pulse Step"),
-                           P_("The fraction of total progress to move the bouncing block when pulsed"),
+      g_param_spec_double ("pulse-step", NULL, NULL,
                            0.0, 1.0,
                            0.1,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -222,9 +216,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
    * Text to be displayed in the progress bar.
    */
   progress_props[PROP_TEXT] =
-      g_param_spec_string ("text",
-                           P_("Text"),
-                           P_("Text to be displayed in the progress bar"),
+      g_param_spec_string ("text", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
@@ -243,9 +235,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
    * to %TRUE and [property@Gtk.ProgressBar:text] to the empty string (not %NULL).
    */
   progress_props[PROP_SHOW_TEXT] =
-      g_param_spec_boolean ("show-text",
-                            P_("Show text"),
-                            P_("Whether the progress is shown as text."),
+      g_param_spec_boolean ("show-text", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -263,10 +253,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
    * progress bar's width is [method@Gtk.Widget.set_size_request].
    */
   progress_props[PROP_ELLIPSIZE] =
-      g_param_spec_enum ("ellipsize",
-                         P_("Ellipsize"),
-                         P_("The preferred place to ellipsize the string, if the progress bar "
-                            "does not have enough room to display the entire string, if at all."),
+      g_param_spec_enum ("ellipsize", NULL, NULL,
                          PANGO_TYPE_ELLIPSIZE_MODE,
                          PANGO_ELLIPSIZE_NONE,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
index caccf6653ce6ff70aa94b71a71ea75afb3b22e3b..3d5038d87a6c1afab1f4995215291852fb1ccb7c 100644 (file)
@@ -369,9 +369,7 @@ gtk_property_lookup_list_model_class_init (GtkPropertyLookupListModelClass *klas
    * The `GType` for elements of this object
    */
   properties[PROP_ITEM_TYPE] =
-      g_param_spec_gtype ("item-type",
-                          P_("Item type"),
-                          P_("The type of elements of this object"),
+      g_param_spec_gtype ("item-type", NULL, NULL,
                           G_TYPE_OBJECT,
                           GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -381,9 +379,7 @@ gtk_property_lookup_list_model_class_init (GtkPropertyLookupListModelClass *klas
    * Name of the property used for lookups
    */
   properties[PROP_PROPERTY] =
-      g_param_spec_string ("property",
-                           P_("type"),
-                           P_("Name of the property used for lookups"),
+      g_param_spec_string ("property", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -393,9 +389,7 @@ gtk_property_lookup_list_model_class_init (GtkPropertyLookupListModelClass *klas
    * The root object
    */
   properties[PROP_OBJECT] =
-      g_param_spec_object ("object",
-                           P_("Object"),
-                           P_("The root object"),
+      g_param_spec_object ("object", NULL, NULL,
                            G_TYPE_LIST_MODEL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index f185ab6763856cbb0b1f35820e0efd8e488f1908..b5e95ba0847897c1162c01ba7324cde6dd986ddd 100644 (file)
@@ -368,9 +368,7 @@ gtk_range_class_init (GtkRangeClass *class)
    * The adjustment that is controlled by the range.
    */
   properties[PROP_ADJUSTMENT] =
-      g_param_spec_object ("adjustment",
-                           P_("Adjustment"),
-                           P_("The GtkAdjustment that contains the current value of this range object"),
+      g_param_spec_object ("adjustment", NULL, NULL,
                            GTK_TYPE_ADJUSTMENT,
                            GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT);
 
@@ -380,9 +378,7 @@ gtk_range_class_init (GtkRangeClass *class)
    * If %TRUE, the direction in which the slider moves is inverted.
    */
   properties[PROP_INVERTED] =
-      g_param_spec_boolean ("inverted",
-                            P_("Inverted"),
-                            P_("Invert direction slider moves to increase range value"),
+      g_param_spec_boolean ("inverted", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -393,9 +389,7 @@ gtk_range_class_init (GtkRangeClass *class)
    * on the trough.
    */
   properties[PROP_SHOW_FILL_LEVEL] =
-      g_param_spec_boolean ("show-fill-level",
-                            P_("Show Fill Level"),
-                            P_("Whether to display a fill level indicator graphics on trough."),
+      g_param_spec_boolean ("show-fill-level", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -406,9 +400,7 @@ gtk_range_class_init (GtkRangeClass *class)
    * upper boundary set by the fill level.
    */
   properties[PROP_RESTRICT_TO_FILL_LEVEL] =
-      g_param_spec_boolean ("restrict-to-fill-level",
-                            P_("Restrict to Fill Level"),
-                            P_("Whether to restrict the upper boundary to the fill level."),
+      g_param_spec_boolean ("restrict-to-fill-level", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -418,9 +410,7 @@ gtk_range_class_init (GtkRangeClass *class)
    * The fill level (e.g. prebuffering of a network stream).
    */
   properties[PROP_FILL_LEVEL] =
-      g_param_spec_double ("fill-level",
-                           P_("Fill Level"),
-                           P_("The fill level."),
+      g_param_spec_double ("fill-level", NULL, NULL,
                            -G_MAXDOUBLE, G_MAXDOUBLE,
                            G_MAXDOUBLE,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -434,9 +424,7 @@ gtk_range_class_init (GtkRangeClass *class)
    * See [signal@Gtk.Range::change-value].
    */
   properties[PROP_ROUND_DIGITS] =
-      g_param_spec_int ("round-digits",
-                        P_("Round Digits"),
-                        P_("The number of digits to round the value to."),
+      g_param_spec_int ("round-digits", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
index 32dd595beb28260061a65490584df444b3066fb4..ecd1c0a2249b6815d62cb2df7a198f23a3c56085 100644 (file)
@@ -267,9 +267,7 @@ gtk_recent_manager_class_init (GtkRecentManagerClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_FILENAME,
-                                   g_param_spec_string ("filename",
-                                                        P_("Filename"),
-                                                        P_("The full path to the file to be used to store and read the list"),
+                                   g_param_spec_string ("filename", NULL, NULL,
                                                         NULL,
                                                         (G_PARAM_CONSTRUCT_ONLY | GTK_PARAM_READWRITE)));
 
@@ -280,9 +278,7 @@ gtk_recent_manager_class_init (GtkRecentManagerClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SIZE,
-                                   g_param_spec_int ("size",
-                                                     P_("Size"),
-                                                     P_("The size of the recently used resources list"),
+                                   g_param_spec_int ("size", NULL, NULL,
                                                      -1, G_MAXINT, 0,
                                                      GTK_PARAM_READABLE));
 
index 25148b907c124b925e09638b3fd4706d9377a09c..35a6ce28ab4f4cec441cece0bc07a19f5de3b555 100644 (file)
@@ -315,9 +315,7 @@ gtk_revealer_class_init (GtkRevealerClass *klass)
    * The type of animation used to transition.
    */
   props[PROP_TRANSITION_TYPE] =
-    g_param_spec_enum ("transition-type",
-                       P_("Transition type"),
-                       P_("The type of animation used to transition"),
+    g_param_spec_enum ("transition-type", NULL, NULL,
                        GTK_TYPE_REVEALER_TRANSITION_TYPE,
                        GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN,
                        GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY);
@@ -328,9 +326,7 @@ gtk_revealer_class_init (GtkRevealerClass *klass)
    * The animation duration, in milliseconds.
    */
   props[PROP_TRANSITION_DURATION] =
-    g_param_spec_uint ("transition-duration",
-                       P_("Transition duration"),
-                       P_("The animation duration, in milliseconds"),
+    g_param_spec_uint ("transition-duration", NULL, NULL,
                        0, G_MAXUINT, 250,
                        GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -340,9 +336,7 @@ gtk_revealer_class_init (GtkRevealerClass *klass)
    * Whether the revealer should reveal the child.
    */
   props[PROP_REVEAL_CHILD] =
-    g_param_spec_boolean ("reveal-child",
-                          P_("Reveal Child"),
-                          P_("Whether the container should reveal the child"),
+    g_param_spec_boolean ("reveal-child", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -352,9 +346,7 @@ gtk_revealer_class_init (GtkRevealerClass *klass)
    * Whether the child is revealed and the animation target reached.
    */
   props[PROP_CHILD_REVEALED] =
-    g_param_spec_boolean ("child-revealed",
-                          P_("Child Revealed"),
-                          P_("Whether the child is revealed and the animation target reached"),
+    g_param_spec_boolean ("child-revealed", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READABLE);
 
@@ -364,9 +356,7 @@ gtk_revealer_class_init (GtkRevealerClass *klass)
    * The child widget.
    */
   props[PROP_CHILD] =
-    g_param_spec_object ("child",
-                         P_("Child"),
-                         P_("The child widget"),
+    g_param_spec_object ("child", NULL, NULL,
                          GTK_TYPE_WIDGET,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index d9620e9461b87fcefe8b764b4f03ca1badcba644..7d289d93634e3c354168d433fb7b7739813c488b 100644 (file)
@@ -677,9 +677,7 @@ gtk_scale_class_init (GtkScaleClass *class)
    * The number of decimal places that are displayed in the value.
    */
   properties[PROP_DIGITS] =
-      g_param_spec_int ("digits",
-                        P_("Digits"),
-                        P_("The number of decimal places that are displayed in the value"),
+      g_param_spec_int ("digits", NULL, NULL,
                         -1, MAX_DIGITS,
                         1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -690,9 +688,7 @@ gtk_scale_class_init (GtkScaleClass *class)
    * Whether the current value is displayed as a string next to the slider.
    */
   properties[PROP_DRAW_VALUE] =
-      g_param_spec_boolean ("draw-value",
-                            P_("Draw Value"),
-                            P_("Whether the current value is displayed as a string next to the slider"),
+      g_param_spec_boolean ("draw-value", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -702,9 +698,7 @@ gtk_scale_class_init (GtkScaleClass *class)
    * Whether the scale has an origin.
    */
   properties[PROP_HAS_ORIGIN] =
-      g_param_spec_boolean ("has-origin",
-                            P_("Has Origin"),
-                            P_("Whether the scale has an origin"),
+      g_param_spec_boolean ("has-origin", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -714,9 +708,7 @@ gtk_scale_class_init (GtkScaleClass *class)
    * The position in which the current value is displayed.
    */
   properties[PROP_VALUE_POS] =
-      g_param_spec_enum ("value-pos",
-                         P_("Value Position"),
-                         P_("The position in which the current value is displayed"),
+      g_param_spec_enum ("value-pos", NULL, NULL,
                          GTK_TYPE_POSITION_TYPE,
                          GTK_POS_TOP,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
index 311ea01192916d590b51d0cc5b4e55c3c31b65ef..4cda343249c900ce7bc3a43eb9dd1903c51a76f5 100644 (file)
@@ -193,9 +193,7 @@ gtk_scale_button_class_init (GtkScaleButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                   PROP_VALUE,
-                                  g_param_spec_double ("value",
-                                                       P_("Value"),
-                                                       P_("The value of the scale"),
+                                  g_param_spec_double ("value", NULL, NULL,
                                                        -G_MAXDOUBLE,
                                                        G_MAXDOUBLE,
                                                        0,
@@ -208,9 +206,7 @@ gtk_scale_button_class_init (GtkScaleButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_ADJUSTMENT,
-                                   g_param_spec_object ("adjustment",
-                                                       P_("Adjustment"),
-                                                       P_("The GtkAdjustment that contains the current value of this scale button object"),
+                                   g_param_spec_object ("adjustment", NULL, NULL,
                                                         GTK_TYPE_ADJUSTMENT,
                                                         GTK_PARAM_READWRITE));
 
@@ -236,9 +232,7 @@ gtk_scale_button_class_init (GtkScaleButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_ICONS,
-                                   g_param_spec_boxed ("icons",
-                                                       P_("Icons"),
-                                                       P_("List of icon names"),
+                                   g_param_spec_boxed ("icons", NULL, NULL,
                                                        G_TYPE_STRV,
                                                        GTK_PARAM_READWRITE));
 
index 4df0c170f61c09c7ea105f2f4af0f25054670c68..1ffb11be9f75f5e304afd001df44dbf854088fb1 100644 (file)
@@ -71,11 +71,7 @@ gtk_scrollable_default_init (GtkScrollableInterface *iface)
    *
    * This adjustment is shared between the scrollable widget and its parent.
    */
-  pspec = g_param_spec_object ("hadjustment",
-                               P_("Horizontal adjustment"),
-                               P_("Horizontal adjustment that is shared "
-                                  "between the scrollable widget and its "
-                                  "controller"),
+  pspec = g_param_spec_object ("hadjustment", NULL, NULL,
                                GTK_TYPE_ADJUSTMENT,
                                GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT);
   g_object_interface_install_property (iface, pspec);
@@ -87,11 +83,7 @@ gtk_scrollable_default_init (GtkScrollableInterface *iface)
    *
    * This adjustment is shared between the scrollable widget and its parent.
    */
-  pspec = g_param_spec_object ("vadjustment",
-                               P_("Vertical adjustment"),
-                               P_("Vertical adjustment that is shared "
-                                  "between the scrollable widget and its "
-                                  "controller"),
+  pspec = g_param_spec_object ("vadjustment", NULL, NULL,
                                GTK_TYPE_ADJUSTMENT,
                                GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT);
   g_object_interface_install_property (iface, pspec);
@@ -101,9 +93,7 @@ gtk_scrollable_default_init (GtkScrollableInterface *iface)
    *
    * Determines when horizontal scrolling should start.
    */
-  pspec = g_param_spec_enum ("hscroll-policy",
-                            P_("Horizontal Scrollable Policy"),
-                            P_("How the size of the content should be determined"),
+  pspec = g_param_spec_enum ("hscroll-policy", NULL, NULL,
                             GTK_TYPE_SCROLLABLE_POLICY,
                             GTK_SCROLL_MINIMUM,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -114,9 +104,7 @@ gtk_scrollable_default_init (GtkScrollableInterface *iface)
    *
    * Determines when vertical scrolling should start.
    */
-  pspec = g_param_spec_enum ("vscroll-policy",
-                            P_("Vertical Scrollable Policy"),
-                            P_("How the size of the content should be determined"),
+  pspec = g_param_spec_enum ("vscroll-policy", NULL, NULL,
                             GTK_TYPE_SCROLLABLE_POLICY,
                             GTK_SCROLL_MINIMUM,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
index 50d8be508160bbe49f7cf7ed1a1009937bc37e41..9a38ed2fd48e91e05c8e2acc9048d2baa4700fa3 100644 (file)
@@ -217,9 +217,7 @@ gtk_scrollbar_class_init (GtkScrollbarClass *class)
    * The `GtkAdjustment` controlled by this scrollbar.
    */
   props[PROP_ADJUSTMENT] =
-      g_param_spec_object ("adjustment",
-                           P_("Adjustment"),
-                           P_("The GtkAdjustment that contains the current value of this scrollbar"),
+      g_param_spec_object ("adjustment", NULL, NULL,
                            GTK_TYPE_ADJUSTMENT,
                            GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT);
 
index be1739b6eae91152c90c56a06db0c1d93c66f54e..d2768d3ae06e245ff33935afec684b4053aec05f 100644 (file)
@@ -602,9 +602,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * The `GtkAdjustment` for the horizontal position.
    */
   properties[PROP_HADJUSTMENT] =
-      g_param_spec_object ("hadjustment",
-                           P_("Horizontal Adjustment"),
-                           P_("The GtkAdjustment for the horizontal position"),
+      g_param_spec_object ("hadjustment", NULL, NULL,
                            GTK_TYPE_ADJUSTMENT,
                            GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT);
 
@@ -614,9 +612,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * The `GtkAdjustment` for the vertical position.
    */
   properties[PROP_VADJUSTMENT] =
-      g_param_spec_object ("vadjustment",
-                           P_("Vertical Adjustment"),
-                           P_("The GtkAdjustment for the vertical position"),
+      g_param_spec_object ("vadjustment", NULL, NULL,
                            GTK_TYPE_ADJUSTMENT,
                            GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT);
 
@@ -629,9 +625,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * this property.
    */
   properties[PROP_HSCROLLBAR_POLICY] =
-      g_param_spec_enum ("hscrollbar-policy",
-                         P_("Horizontal Scrollbar Policy"),
-                         P_("When the horizontal scrollbar is displayed"),
+      g_param_spec_enum ("hscrollbar-policy", NULL, NULL,
                          GTK_TYPE_POLICY_TYPE,
                          GTK_POLICY_AUTOMATIC,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -645,9 +639,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * this property.
    */
   properties[PROP_VSCROLLBAR_POLICY] =
-      g_param_spec_enum ("vscrollbar-policy",
-                         P_("Vertical Scrollbar Policy"),
-                         P_("When the vertical scrollbar is displayed"),
+      g_param_spec_enum ("vscrollbar-policy", NULL, NULL,
                         GTK_TYPE_POLICY_TYPE,
                         GTK_POLICY_AUTOMATIC,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -658,9 +650,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * Where the contents are located with respect to the scrollbars.
    */
   properties[PROP_WINDOW_PLACEMENT] =
-      g_param_spec_enum ("window-placement",
-                         P_("Window Placement"),
-                         P_("Where the contents are located with respect to the scrollbars."),
+      g_param_spec_enum ("window-placement", NULL, NULL,
                         GTK_TYPE_CORNER_TYPE,
                         GTK_CORNER_TOP_LEFT,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -671,9 +661,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * Whether to draw a frame around the contents.
    */
   properties[PROP_HAS_FRAME] =
-      g_param_spec_boolean ("has-frame",
-                            P_("Has Frame"),
-                            P_("Whether to draw a frame around the contents"),
+      g_param_spec_boolean ("has-frame", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -683,9 +671,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * The minimum content width of @scrolled_window.
    */
   properties[PROP_MIN_CONTENT_WIDTH] =
-      g_param_spec_int ("min-content-width",
-                        P_("Minimum Content Width"),
-                        P_("The minimum width that the scrolled window will allocate to its content"),
+      g_param_spec_int ("min-content-width", NULL, NULL,
                         -1, G_MAXINT, -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -695,9 +681,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * The minimum content height of @scrolled_window.
    */
   properties[PROP_MIN_CONTENT_HEIGHT] =
-      g_param_spec_int ("min-content-height",
-                        P_("Minimum Content Height"),
-                        P_("The minimum height that the scrolled window will allocate to its content"),
+      g_param_spec_int ("min-content-height", NULL, NULL,
                         -1, G_MAXINT, -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -709,9 +693,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * Kinetic scrolling only applies to devices with source %GDK_SOURCE_TOUCHSCREEN.
    */
   properties[PROP_KINETIC_SCROLLING] =
-      g_param_spec_boolean ("kinetic-scrolling",
-                            P_("Kinetic Scrolling"),
-                            P_("Kinetic scrolling mode."),
+      g_param_spec_boolean ("kinetic-scrolling", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -728,9 +710,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * the [property@Gtk.Settings:gtk-overlay-scrolling] setting.
    */
   properties[PROP_OVERLAY_SCROLLING] =
-      g_param_spec_boolean ("overlay-scrolling",
-                            P_("Overlay Scrolling"),
-                            P_("Overlay scrolling mode"),
+      g_param_spec_boolean ("overlay-scrolling", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -740,9 +720,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * The maximum content width of @scrolled_window.
    */
   properties[PROP_MAX_CONTENT_WIDTH] =
-      g_param_spec_int ("max-content-width",
-                        P_("Maximum Content Width"),
-                        P_("The maximum width that the scrolled window will allocate to its content"),
+      g_param_spec_int ("max-content-width", NULL, NULL,
                         -1, G_MAXINT, -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -752,9 +730,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * The maximum content height of @scrolled_window.
    */
   properties[PROP_MAX_CONTENT_HEIGHT] =
-      g_param_spec_int ("max-content-height",
-                        P_("Maximum Content Height"),
-                        P_("The maximum height that the scrolled window will allocate to its content"),
+      g_param_spec_int ("max-content-height", NULL, NULL,
                         -1, G_MAXINT, -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -768,9 +744,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * enough space for the natural size of the child.
    */
   properties[PROP_PROPAGATE_NATURAL_WIDTH] =
-      g_param_spec_boolean ("propagate-natural-width",
-                            P_("Propagate Natural Width"),
-                            P_("Propagate Natural Width"),
+      g_param_spec_boolean ("propagate-natural-width", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -784,9 +758,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * enough space for the natural size of the child.
    */
   properties[PROP_PROPAGATE_NATURAL_HEIGHT] =
-      g_param_spec_boolean ("propagate-natural-height",
-                            P_("Propagate Natural Height"),
-                            P_("Propagate Natural Height"),
+      g_param_spec_boolean ("propagate-natural-height", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -796,9 +768,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
    * The child widget.
    */
   properties[PROP_CHILD] =
-      g_param_spec_object ("child",
-                           P_("Child"),
-                           P_("The child widget"),
+      g_param_spec_object ("child", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index edb9094db8523a9d8f0cd5295c830d40b2d37b04..05f8a4d08a547877da4031e34abad274d0bf1798 100644 (file)
@@ -307,9 +307,7 @@ gtk_search_bar_class_init (GtkSearchBarClass *klass)
    *
    * Whether the search mode is on and the search bar shown.
    */
-  widget_props[PROP_SEARCH_MODE_ENABLED] = g_param_spec_boolean ("search-mode-enabled",
-                                                                 P_("Search Mode Enabled"),
-                                                                 P_("Whether the search mode is on and the search bar shown"),
+  widget_props[PROP_SEARCH_MODE_ENABLED] = g_param_spec_boolean ("search-mode-enabled", NULL, NULL,
                                                                  FALSE,
                                                                  GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -318,9 +316,7 @@ gtk_search_bar_class_init (GtkSearchBarClass *klass)
    *
    * Whether to show the close button in the search bar.
    */
-  widget_props[PROP_SHOW_CLOSE_BUTTON] = g_param_spec_boolean ("show-close-button",
-                                                               P_("Show Close Button"),
-                                                               P_("Whether to show the close button in the toolbar"),
+  widget_props[PROP_SHOW_CLOSE_BUTTON] = g_param_spec_boolean ("show-close-button", NULL, NULL,
                                                                FALSE,
                                                                GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -329,9 +325,7 @@ gtk_search_bar_class_init (GtkSearchBarClass *klass)
    *
    * The child widget.
    */
-  widget_props[PROP_CHILD] = g_param_spec_object ("child",
-                                                  P_("Child"),
-                                                  P_("The child widget"),
+  widget_props[PROP_CHILD] = g_param_spec_object ("child", NULL, NULL,
                                                   GTK_TYPE_WIDGET,
                                                   GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -341,9 +335,7 @@ gtk_search_bar_class_init (GtkSearchBarClass *klass)
    * The key capture widget.
    */
   widget_props[PROP_KEY_CAPTURE_WIDGET]
-      = g_param_spec_object ("key-capture-widget",
-                             P_("Key Capture Widget"),
-                             P_("Key Capture Widget"),
+      = g_param_spec_object ("key-capture-widget", NULL, NULL,
                              GTK_TYPE_WIDGET,
                              GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY);
 
index d583ca0d90a739921f7ed710b9b9d71861c375aa..dcf5f9cf6f4e7a141562733284ac01cc3ce41a76 100644 (file)
@@ -305,9 +305,7 @@ gtk_search_entry_class_init (GtkSearchEntryClass *klass)
    * when it is empty and unfocused.
    */
   props[PROP_PLACEHOLDER_TEXT] =
-      g_param_spec_string ("placeholder-text",
-                           P_("Placeholder text"),
-                           P_("Show text in the entry when it’s empty and unfocused"),
+      g_param_spec_string ("placeholder-text", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
@@ -317,9 +315,7 @@ gtk_search_entry_class_init (GtkSearchEntryClass *klass)
    * Whether to activate the default widget when Enter is pressed.
    */
   props[PROP_ACTIVATES_DEFAULT] =
-      g_param_spec_boolean ("activates-default",
-                            P_("Activates default"),
-                            P_("Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed"),
+      g_param_spec_boolean ("activates-default", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -332,9 +328,7 @@ gtk_search_entry_class_init (GtkSearchEntryClass *klass)
    * Since: 4.8
    */
   props[PROP_SEARCH_DELAY] =
-      g_param_spec_uint ("search-delay",
-                         P_("Search delay"),
-                         P_("The delay from last keypress to the search-changed signal. If this is not set, it defaults to 150ms"),
+      g_param_spec_uint ("search-delay", NULL, NULL,
                          0, G_MAXUINT, 150,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 398b88bc308c0f949e540953b621197228bc69ff..3745721d823eea0356d2b8b7307d6fbc3a8470e5 100644 (file)
@@ -226,9 +226,7 @@ gtk_selection_filter_model_class_init (GtkSelectionFilterModelClass *class)
    * The model being filtered.
    */
   properties[PROP_MODEL] =
-      g_param_spec_object ("model",
-                           P_("Model"),
-                           P_("The model being filtered"),
+      g_param_spec_object ("model", NULL, NULL,
                            GTK_TYPE_SELECTION_MODEL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index fb303bb2e47c16c3ba8f53f86fbe60cb9a6069a4..aeeba2ac6f6d401af39ba3dd56df89582dadc0e8 100644 (file)
@@ -337,9 +337,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * a double click, in milliseconds.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_int ("gtk-double-click-time",
-                                                               P_("Double Click Time"),
-                                                               P_("Maximum time allowed between two clicks for them to be considered a double click (in milliseconds)"),
+                                             g_param_spec_int ("gtk-double-click-time", NULL, NULL,
                                                                0, G_MAXINT, 400,
                                                                GTK_PARAM_READWRITE));
   g_assert (result == PROP_DOUBLE_CLICK_TIME);
@@ -351,9 +349,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * a double click, in pixels.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_int ("gtk-double-click-distance",
-                                                               P_("Double Click Distance"),
-                                                               P_("Maximum distance allowed between two clicks for them to be considered a double click (in pixels)"),
+                                             g_param_spec_int ("gtk-double-click-distance", NULL, NULL,
                                                                0, G_MAXINT, 5,
                                                                GTK_PARAM_READWRITE));
   g_assert (result == PROP_DOUBLE_CLICK_DISTANCE);
@@ -367,9 +363,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * which allows more flexible control over cursor blinking.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-cursor-blink",
-                                                                   P_("Cursor Blink"),
-                                                                   P_("Whether the cursor should blink"),
+                                             g_param_spec_boolean ("gtk-cursor-blink", NULL, NULL,
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_CURSOR_BLINK);
@@ -380,9 +374,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * Length of the cursor blink cycle, in milliseconds.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_int ("gtk-cursor-blink-time",
-                                                               P_("Cursor Blink Time"),
-                                                               P_("Length of the cursor blink cycle, in milliseconds"),
+                                             g_param_spec_int ("gtk-cursor-blink-time", NULL, NULL,
                                                                100, G_MAXINT, 1200,
                                                                GTK_PARAM_READWRITE));
   g_assert (result == PROP_CURSOR_BLINK_TIME);
@@ -398,9 +390,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * [property@Gtk.Settings:gtk-cursor-blink] to %FALSE.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_int ("gtk-cursor-blink-timeout",
-                                                               P_("Cursor Blink Timeout"),
-                                                               P_("Time after which the cursor stops blinking, in seconds"),
+                                             g_param_spec_int ("gtk-cursor-blink-timeout", NULL, NULL,
                                                                1, G_MAXINT, 10,
                                                                GTK_PARAM_READWRITE));
   g_assert (result == PROP_CURSOR_BLINK_TIMEOUT);
@@ -412,9 +402,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * right-to-left text.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-split-cursor",
-                                                                   P_("Split Cursor"),
-                                                                   P_("Whether two cursors should be displayed for mixed left-to-right and right-to-left text"),
+                                             g_param_spec_boolean ("gtk-split-cursor", NULL, NULL,
                                                                    FALSE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_SPLIT_CURSOR);
@@ -425,9 +413,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * The aspect ratio of the text caret.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_double ("gtk-cursor-aspect-ratio",
-                                                                  P_("Cursor Aspect Ratio"),
-                                                                  P_("The aspect ratio of the text caret"),
+                                             g_param_spec_double ("gtk-cursor-aspect-ratio", NULL, NULL,
                                                                   0.0, 1.0, 0.04,
                                                                   GTK_PARAM_READWRITE));
   g_assert (result == PROP_CURSOR_ASPECT_RATIO);
@@ -441,9 +427,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * GTK finds the CSS stylesheet for a theme.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-theme-name",
-                                                                   P_("Theme Name"),
-                                                                   P_("Name of theme to load"),
+                                             g_param_spec_string ("gtk-theme-name", NULL, NULL,
                                                                   DEFAULT_THEME_NAME,
                                                                   GTK_PARAM_READWRITE));
   g_assert (result == PROP_THEME_NAME);
@@ -457,9 +441,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * GTK handles icon themes.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-icon-theme-name",
-                                                                  P_("Icon Theme Name"),
-                                                                  P_("Name of icon theme to use"),
+                                             g_param_spec_string ("gtk-icon-theme-name", NULL, NULL,
                                                                   DEFAULT_ICON_THEME,
                                                                   GTK_PARAM_READWRITE));
   g_assert (result == PROP_ICON_THEME_NAME);
@@ -470,9 +452,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * The number of pixels the cursor can move before dragging.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_int ("gtk-dnd-drag-threshold",
-                                                               P_("Drag threshold"),
-                                                               P_("Number of pixels the cursor can move before dragging"),
+                                             g_param_spec_int ("gtk-dnd-drag-threshold", NULL, NULL,
                                                                1, G_MAXINT, 8,
                                                                GTK_PARAM_READWRITE));
   g_assert (result == PROP_DND_DRAG_THRESHOLD);
@@ -485,9 +465,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * GTK uses the family name and size from this string.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-font-name",
-                                                                   P_("Font Name"),
-                                                                   P_("The default font family and size to use"),
+                                             g_param_spec_string ("gtk-font-name", NULL, NULL,
                                                                   "Sans 10",
                                                                   GTK_PARAM_READWRITE));
   g_assert (result == PROP_FONT_NAME);
@@ -500,9 +478,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * The values are 0 for no, 1 for yes, or -1 for the system default.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_int ("gtk-xft-antialias",
-                                                               P_("Xft Antialias"),
-                                                               P_("Whether to antialias Xft fonts; 0=no, 1=yes, -1=default"),
+                                             g_param_spec_int ("gtk-xft-antialias", NULL, NULL,
                                                                -1, 1, -1,
                                                                GTK_PARAM_READWRITE));
 
@@ -516,9 +492,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * The values are 0 for no, 1 for yes, or -1 for the system default.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_int ("gtk-xft-hinting",
-                                                               P_("Xft Hinting"),
-                                                               P_("Whether to hint Xft fonts; 0=no, 1=yes, -1=default"),
+                                             g_param_spec_int ("gtk-xft-hinting", NULL, NULL,
                                                                -1, 1, -1,
                                                                GTK_PARAM_READWRITE));
 
@@ -533,9 +507,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * hintmedium, hintfull.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-xft-hintstyle",
-                                                                  P_("Xft Hint Style"),
-                                                                  P_("What degree of hinting to use; hintnone, hintslight, hintmedium, or hintfull"),
+                                             g_param_spec_string ("gtk-xft-hintstyle", NULL, NULL,
                                                                   NULL,
                                                                   GTK_PARAM_READWRITE));
 
@@ -549,9 +521,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * The possible values are none, rgb, bgr, vrgb, vbgr.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-xft-rgba",
-                                                                  P_("Xft RGBA"),
-                                                                  P_("Type of subpixel antialiasing; none, rgb, bgr, vrgb, vbgr"),
+                                             g_param_spec_string ("gtk-xft-rgba", NULL, NULL,
                                                                   NULL,
                                                                   GTK_PARAM_READWRITE));
 
@@ -566,9 +536,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * -1 to use the default value.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_int ("gtk-xft-dpi",
-                                                               P_("Xft DPI"),
-                                                               P_("Resolution for Xft, in 1024 * dots/inch. -1 to use default value"),
+                                             g_param_spec_int ("gtk-xft-dpi", NULL, NULL,
                                                                -1, 1024*1024, -1,
                                                                GTK_PARAM_READWRITE));
 
@@ -585,9 +553,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * Since: 4.6
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-hint-font-metrics",
-                                                                   P_("Hint Font Metrics"),
-                                                                   P_("Whether hinting should be applied to font metrics"),
+                                             g_param_spec_boolean ("gtk-hint-font-metrics", NULL, NULL,
                                                                    FALSE,
                                                                    GTK_PARAM_READWRITE));
 
@@ -601,9 +567,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * Use %NULL to use the default theme.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-cursor-theme-name",
-                                                                  P_("Cursor theme name"),
-                                                                  P_("Name of the cursor theme to use, or NULL to use the default theme"),
+                                             g_param_spec_string ("gtk-cursor-theme-name", NULL, NULL,
                                                                   NULL,
                                                                   GTK_PARAM_READWRITE));
   g_assert (result == PROP_CURSOR_THEME_NAME);
@@ -616,9 +580,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * 0 means to use the default size.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_int ("gtk-cursor-theme-size",
-                                                               P_("Cursor theme size"),
-                                                               P_("Size to use for cursors, or 0 to use the default size"),
+                                             g_param_spec_int ("gtk-cursor-theme-size", NULL, NULL,
                                                                0, 128, 0,
                                                                GTK_PARAM_READWRITE));
 
@@ -630,9 +592,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * Whether buttons in dialogs should use the alternative button order.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-alternative-button-order",
-                                                                   P_("Alternative button order"),
-                                                                   P_("Whether buttons in dialogs should use the alternative button order"),
+                                             g_param_spec_boolean ("gtk-alternative-button-order", NULL, NULL,
                                                                    FALSE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_ALTERNATIVE_BUTTON_ORDER);
@@ -647,9 +607,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * in ascending order. When set to %TRUE, this order will be inverted.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-alternative-sort-arrows",
-                                                                   P_("Alternative sort indicator direction"),
-                                                                   P_("Whether the direction of the sort indicators in list and tree views is inverted compared to the default (where down means ascending)"),
+                                             g_param_spec_boolean ("gtk-alternative-sort-arrows", NULL, NULL,
                                                                    FALSE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_ALTERNATIVE_SORT_ARROWS);
@@ -660,9 +618,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * Whether to enable toolkit-wide animations.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-enable-animations",
-                                                                   P_("Enable Animations"),
-                                                                   P_("Whether to enable toolkit-wide animations."),
+                                             g_param_spec_boolean ("gtk-enable-animations", NULL, NULL,
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
 
@@ -679,9 +635,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * ways, such as flashing the window or similar visual effects.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-error-bell",
-                                                                   P_("Error Bell"),
-                                                                   P_("When TRUE, keyboard navigation and other errors will cause a beep"),
+                                             g_param_spec_boolean ("gtk-error-bell", NULL, NULL,
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
 
@@ -697,9 +651,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * and may include "file", "cups", "lpr" or "papi".
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-print-backends",
-                                                                  P_("Default print backend"),
-                                                                  P_("List of the GtkPrintBackend backends to use by default"),
+                                             g_param_spec_string ("gtk-print-backends", NULL, NULL,
                                                                   GTK_PRINT_BACKENDS,
                                                                   GTK_PARAM_READWRITE));
   g_assert (result == PROP_PRINT_BACKENDS);
@@ -719,9 +671,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * file and the print settings file when it is done.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-print-preview-command",
-                                                                  P_("Default command to run when displaying a print preview"),
-                                                                  P_("Command to run when displaying a print preview"),
+                                             g_param_spec_string ("gtk-print-preview-command", NULL, NULL,
                                                                   PRINT_PREVIEW_COMMAND,
                                                                   GTK_PARAM_READWRITE));
   g_assert (result == PROP_PRINT_PREVIEW_COMMAND);
@@ -733,9 +683,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * activated.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-enable-accels",
-                                                                   P_("Enable Accelerators"),
-                                                                   P_("Whether menu items should have accelerators"),
+                                             g_param_spec_boolean ("gtk-enable-accels", NULL, NULL,
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_ENABLE_ACCELS);
@@ -753,9 +701,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * See [class@Gtk.IMContext].
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-im-module",
-                                                                  P_("Default IM module"),
-                                                                  P_("Which IM module should be used by default"),
+                                             g_param_spec_string ("gtk-im-module", NULL, NULL,
                                                                   NULL,
                                                                   GTK_PARAM_READWRITE));
   g_assert (result == PROP_IM_MODULE);
@@ -771,9 +717,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * item will be removed.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_int ("gtk-recent-files-max-age",
-                                                               P_("Recent Files Max Age"),
-                                                               P_("Maximum age of recently used files, in days"),
+                                             g_param_spec_int ("gtk-recent-files-max-age", NULL, NULL,
                                                                -1, G_MAXINT,
                                                                30,
                                                                GTK_PARAM_READWRITE));
@@ -785,9 +729,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * Timestamp of the curent fontconfig configuration.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_uint ("gtk-fontconfig-timestamp",
-                                                                P_("Fontconfig configuration timestamp"),
-                                                                P_("Timestamp of current fontconfig configuration"),
+                                             g_param_spec_uint ("gtk-fontconfig-timestamp", NULL, NULL,
                                                                 0, G_MAXUINT, 0,
                                                                 GTK_PARAM_READWRITE));
 
@@ -805,9 +747,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * a loadable module like the one that comes with libcanberra.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-sound-theme-name",
-                                                                  P_("Sound Theme Name"),
-                                                                  P_("XDG sound theme name"),
+                                             g_param_spec_string ("gtk-sound-theme-name", NULL, NULL,
                                                                   "freedesktop",
                                                                   GTK_PARAM_READWRITE));
   g_assert (result == PROP_SOUND_THEME_NAME);
@@ -824,10 +764,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * module like the one that comes with libcanberra.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-enable-input-feedback-sounds",
-                                                                   /* Translators: this means sounds that are played as feedback to user input */
-                                                                   P_("Audible Input Feedback"),
-                                                                   P_("Whether to play event sounds as feedback to user input"),
+                                             g_param_spec_boolean ("gtk-enable-input-feedback-sounds", NULL, NULL,
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_ENABLE_INPUT_FEEDBACK_SOUNDS);
@@ -844,9 +781,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * module like the one that comes with libcanberra.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-enable-event-sounds",
-                                                                   P_("Enable Event Sounds"),
-                                                                   P_("Whether to play any event sounds at all"),
+                                             g_param_spec_boolean ("gtk-enable-event-sounds", NULL, NULL,
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_ENABLE_EVENT_SOUNDS);
@@ -866,9 +801,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * mouse button.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-primary-button-warps-slider",
-                                                                   P_("Primary button warps slider"),
-                                                                   P_("Whether a primary click on the trough should warp the slider into position"),
+                                             g_param_spec_boolean ("gtk-primary-button-warps-slider", NULL, NULL,
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_PRIMARY_BUTTON_WARPS_SLIDER);
@@ -892,9 +825,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * (web browser, text editor...).
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-application-prefer-dark-theme",
-                                                                 P_("Application prefers a dark theme"),
-                                                                 P_("Whether the application prefers to have a dark theme."),
+                                             g_param_spec_boolean ("gtk-application-prefer-dark-theme", NULL, NULL,
                                                                  FALSE,
                                                                  GTK_PARAM_READWRITE));
   g_assert (result == PROP_APPLICATION_PREFER_DARK_THEME);
@@ -905,9 +836,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * Whether to select the contents of an entry when it is focused.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-entry-select-on-focus",
-                                                                   P_("Select on focus"),
-                                                                   P_("Whether to select the contents of an entry when it is focused"),
+                                             g_param_spec_boolean ("gtk-entry-select-on-focus", NULL, NULL,
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_ENTRY_SELECT_ON_FOCUS);
@@ -922,9 +851,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * last char. 600 is a good value for enabling it.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_uint ("gtk-entry-password-hint-timeout",
-                                                                P_("Password Hint Timeout"),
-                                                                P_("How long to show the last input character in hidden entries"),
+                                             g_param_spec_uint ("gtk-entry-password-hint-timeout", NULL, NULL,
                                                                 0, G_MAXUINT,
                                                                 0,
                                                                 GTK_PARAM_READWRITE));
@@ -937,9 +864,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * label when it is focused.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-label-select-on-focus",
-                                                                   P_("Select on focus"),
-                                                                   P_("Whether to select the contents of a selectable label when it is focused"),
+                                             g_param_spec_boolean ("gtk-label-select-on-focus", NULL, NULL,
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_LABEL_SELECT_ON_FOCUS);
@@ -951,11 +876,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * the app menu, %FALSE if the app should display it itself.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-shell-shows-app-menu",
-                                                                   P_("Desktop shell shows app menu"),
-                                                                   P_("Set to TRUE if the desktop environment "
-                                                                      "is displaying the app menu, FALSE if "
-                                                                      "the app should display it itself."),
+                                             g_param_spec_boolean ("gtk-shell-shows-app-menu", NULL, NULL,
                                                                    FALSE, GTK_PARAM_READWRITE));
   g_assert (result == PROP_SHELL_SHOWS_APP_MENU);
 
@@ -966,11 +887,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * the menubar, %FALSE if the app should display it itself.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-shell-shows-menubar",
-                                                                   P_("Desktop shell shows the menubar"),
-                                                                   P_("Set to TRUE if the desktop environment "
-                                                                      "is displaying the menubar, FALSE if "
-                                                                      "the app should display it itself."),
+                                             g_param_spec_boolean ("gtk-shell-shows-menubar", NULL, NULL,
                                                                    FALSE, GTK_PARAM_READWRITE));
   g_assert (result == PROP_SHELL_SHOWS_MENUBAR);
 
@@ -981,11 +898,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * the desktop folder, %FALSE if not.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-shell-shows-desktop",
-                                                                   P_("Desktop environment shows the desktop folder"),
-                                                                   P_("Set to TRUE if the desktop environment "
-                                                                      "is displaying the desktop folder, FALSE "
-                                                                      "if not."),
+                                             g_param_spec_boolean ("gtk-shell-shows-desktop", NULL, NULL,
                                                                    TRUE, GTK_PARAM_READWRITE));
   g_assert (result == PROP_SHELL_SHOWS_DESKTOP);
 
@@ -1014,9 +927,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * [property@Gtk.HeaderBar:decoration-layout] property.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-decoration-layout",
-                                                                  P_("Decoration Layout"),
-                                                                  P_("The layout for window decorations"),
+                                             g_param_spec_string ("gtk-decoration-layout", NULL, NULL,
                                                                   "menu:minimize,maximize,close", GTK_PARAM_READWRITE));
   g_assert (result == PROP_DECORATION_LAYOUT);
 
@@ -1030,9 +941,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * or none.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-titlebar-double-click",
-                                                                  P_("Titlebar double-click action"),
-                                                                  P_("The action to take on titlebar double-click"),
+                                             g_param_spec_string ("gtk-titlebar-double-click", NULL, NULL,
                                                                   "toggle-maximize", GTK_PARAM_READWRITE));
   g_assert (result == PROP_TITLEBAR_DOUBLE_CLICK);
 
@@ -1046,9 +955,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * or none.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-titlebar-middle-click",
-                                                                  P_("Titlebar middle-click action"),
-                                                                  P_("The action to take on titlebar middle-click"),
+                                             g_param_spec_string ("gtk-titlebar-middle-click", NULL, NULL,
                                                                   "none", GTK_PARAM_READWRITE));
   g_assert (result == PROP_TITLEBAR_MIDDLE_CLICK);
 
@@ -1062,9 +969,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * or none.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_string ("gtk-titlebar-right-click",
-                                                                  P_("Titlebar right-click action"),
-                                                                  P_("The action to take on titlebar right-click"),
+                                             g_param_spec_string ("gtk-titlebar-right-click", NULL, NULL,
                                                                   "menu", GTK_PARAM_READWRITE));
   g_assert (result == PROP_TITLEBAR_RIGHT_CLICK);
 
@@ -1079,9 +984,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * directly, or message dialogs.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-dialogs-use-header",
-                                                                   P_("Dialogs use header bar"),
-                                                                   P_("Whether builtin GTK dialogs should use a header bar instead of an action area."),
+                                             g_param_spec_boolean ("gtk-dialogs-use-header", NULL, NULL,
                                                                    FALSE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_DIALOGS_USE_HEADER);
@@ -1093,9 +996,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * 'PRIMARY' clipboard content at the cursor location.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-enable-primary-paste",
-                                                                   P_("Enable primary paste"),
-                                                                   P_("Whether a middle click on a mouse should paste the “PRIMARY” clipboard content at the cursor location."),
+                                             g_param_spec_boolean ("gtk-enable-primary-paste", NULL, NULL,
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_ENABLE_PRIMARY_PASTE);
@@ -1109,9 +1010,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * If set to %FALSE, the list will always be empty.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-recent-files-enabled",
-                                                                   P_("Recent Files Enabled"),
-                                                                   P_("Whether GTK remembers recent files"),
+                                             g_param_spec_boolean ("gtk-recent-files-enabled", NULL, NULL,
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_RECENT_FILES_ENABLED);
@@ -1124,9 +1023,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * See [class@Gtk.GestureLongPress].
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_uint ("gtk-long-press-time",
-                                                               P_("Long press time"),
-                                                               P_("Time for a button/touch press to be considered a long press (in milliseconds)"),
+                                             g_param_spec_uint ("gtk-long-press-time", NULL, NULL,
                                                                0, G_MAXINT, 500,
                                                                GTK_PARAM_READWRITE));
   g_assert (result == PROP_LONG_PRESS_TIME);
@@ -1140,9 +1037,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * This is useful when using a screen reader.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-keynav-use-caret",
-                                                                   P_("Whether to show cursor in text"),
-                                                                   P_("Whether to show cursor in text"),
+                                             g_param_spec_boolean ("gtk-keynav-use-caret", NULL, NULL,
                                                                    FALSE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_KEYNAV_USE_CARET);
@@ -1156,9 +1051,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * scrollbars.
    */
   result = settings_install_property_parser (class,
-                                             g_param_spec_boolean ("gtk-overlay-scrolling",
-                                                                   P_("Whether to use overlay scrollbars"),
-                                                                   P_("Whether to use overlay scrollbars"),
+                                             g_param_spec_boolean ("gtk-overlay-scrolling", NULL, NULL,
                                                                    TRUE,
                                                                    GTK_PARAM_READWRITE));
   g_assert (result == PROP_OVERLAY_SCROLLING);
index 37620b6fb4140cec85298edcf8359865befad5ab..198746bec13556e7df8337da702e3b6916f38265 100644 (file)
@@ -152,9 +152,7 @@ gtk_shortcut_class_init (GtkShortcutClass *klass)
    * The action that gets activated by this shortcut.
    */
   properties[PROP_ACTION] =
-    g_param_spec_object ("action",
-                         P_("Action"),
-                         P_("The action activated by this shortcut"),
+    g_param_spec_object ("action", NULL, NULL,
                          GTK_TYPE_SHORTCUT_ACTION,
                          G_PARAM_READWRITE |
                          G_PARAM_EXPLICIT_NOTIFY |
@@ -166,9 +164,7 @@ gtk_shortcut_class_init (GtkShortcutClass *klass)
    * Arguments passed to activation.
    */
   properties[PROP_ARGUMENTS] =
-    g_param_spec_variant ("arguments",
-                          P_("Arguments"),
-                          P_("Arguments passed to activation"),
+    g_param_spec_variant ("arguments", NULL, NULL,
                           G_VARIANT_TYPE_ANY,
                           NULL,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
@@ -179,9 +175,7 @@ gtk_shortcut_class_init (GtkShortcutClass *klass)
    * The trigger that triggers this shortcut.
    */
   properties[PROP_TRIGGER] =
-    g_param_spec_object ("trigger",
-                         P_("Trigger"),
-                         P_("The trigger for this shortcut"),
+    g_param_spec_object ("trigger", NULL, NULL,
                          GTK_TYPE_SHORTCUT_TRIGGER,
                          G_PARAM_READWRITE |
                          G_PARAM_EXPLICIT_NOTIFY |
index 969cdba46dd2b9f25b897ad762015d30370da9a7..8239b0916c1105b8f4d4a29cce5a087f44fd7093 100644 (file)
@@ -946,9 +946,7 @@ gtk_signal_action_class_init (GtkSignalActionClass *klass)
    * The name of the signal to emit.
    */
   signal_props[SIGNAL_PROP_SIGNAL_NAME] =
-    g_param_spec_string (I_("signal-name"),
-                         P_("Signal Name"),
-                         P_("The name of the signal to emit"),
+    g_param_spec_string (I_("signal-name"), NULL, NULL,
                          NULL,
                          G_PARAM_STATIC_STRINGS |
                          G_PARAM_READWRITE |
@@ -1188,9 +1186,7 @@ gtk_named_action_class_init (GtkNamedActionClass *klass)
    * The name of the action to activate.
    */
   named_props[NAMED_PROP_ACTION_NAME] =
-    g_param_spec_string (I_("action-name"),
-                         P_("Action Name"),
-                         P_("The name of the action to activate"),
+    g_param_spec_string (I_("action-name"), NULL, NULL,
                          NULL,
                          G_PARAM_STATIC_STRINGS |
                          G_PARAM_READWRITE |
index 5eb0187022ff052a00b719866dad44d3fbe473e3..969242366e7c057495af89679c79edf4aa36372b 100644 (file)
@@ -568,9 +568,7 @@ gtk_shortcut_controller_class_init (GtkShortcutControllerClass *klass)
    * The modifiers that need to be pressed to allow mnemonics activation.
    */
   properties[PROP_MNEMONICS_MODIFIERS] =
-      g_param_spec_flags ("mnemonic-modifiers",
-                          P_("Mnemonic modifiers"),
-                          P_("The modifiers to be pressed to allow mnemonics activation"),
+      g_param_spec_flags ("mnemonic-modifiers", NULL, NULL,
                           GDK_TYPE_MODIFIER_TYPE,
                           GDK_ALT_MASK,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
@@ -581,9 +579,7 @@ gtk_shortcut_controller_class_init (GtkShortcutControllerClass *klass)
    * A list model to take shortcuts from.
    */
   properties[PROP_MODEL] =
-      g_param_spec_object ("model",
-                           P_("Model"),
-                           P_("A list model to take shortcuts from"),
+      g_param_spec_object ("model", NULL, NULL,
                            G_TYPE_LIST_MODEL,
                            G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -593,9 +589,7 @@ gtk_shortcut_controller_class_init (GtkShortcutControllerClass *klass)
    * What scope the shortcuts will be handled in.
    */
   properties[PROP_SCOPE] =
-      g_param_spec_enum ("scope",
-                         P_("Scope"),
-                         P_("What scope the shortcuts will be handled in"),
+      g_param_spec_enum ("scope", NULL, NULL,
                          GTK_TYPE_SHORTCUT_SCOPE,
                          GTK_SHORTCUT_SCOPE_LOCAL,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
index 1332fa47c51a7927f24eed9f366dc20ecaaefb69..53a227ab006731c9048d69bfce666421773030fa 100644 (file)
@@ -482,7 +482,7 @@ gtk_shortcut_label_class_init (GtkShortcutLabelClass *klass)
    * for the accepted syntax.
    */
   properties[PROP_ACCELERATOR] =
-    g_param_spec_string ("accelerator", P_("Accelerator"), P_("Accelerator"),
+    g_param_spec_string ("accelerator", NULL, NULL,
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -492,7 +492,7 @@ gtk_shortcut_label_class_init (GtkShortcutLabelClass *klass)
    * The text that is displayed when no accelerator is set.
    */
   properties[PROP_DISABLED_TEXT] =
-    g_param_spec_string ("disabled-text", P_("Disabled text"), P_("Disabled text"),
+    g_param_spec_string ("disabled-text", NULL, NULL,
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
index 4c8cebd703a660e59534f9b5da15553b05f3efe2..d51c12a3ba890c6781a81f07579a4d9c8187ff7e 100644 (file)
@@ -276,7 +276,7 @@ gtk_shortcuts_group_class_init (GtkShortcutsGroupClass *klass)
    * The title for this group of shortcuts.
    */
   properties[PROP_TITLE] =
-    g_param_spec_string ("title", P_("Title"), P_("Title"),
+    g_param_spec_string ("title", NULL, NULL,
                          "",
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -291,7 +291,7 @@ gtk_shortcuts_group_class_init (GtkShortcutsGroupClass *klass)
    * Set this to %NULL to make the group always visible.
    */
   properties[PROP_VIEW] =
-    g_param_spec_string ("view", P_("View"), P_("View"),
+    g_param_spec_string ("view", NULL, NULL,
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -303,9 +303,7 @@ gtk_shortcuts_group_class_init (GtkShortcutsGroupClass *klass)
    * This is used internally by GTK, and must not be modified by applications.
    */
   properties[PROP_ACCEL_SIZE_GROUP] =
-    g_param_spec_object ("accel-size-group",
-                         P_("Accelerator Size Group"),
-                         P_("Accelerator Size Group"),
+    g_param_spec_object ("accel-size-group", NULL, NULL,
                          GTK_TYPE_SIZE_GROUP,
                          (G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
 
@@ -317,9 +315,7 @@ gtk_shortcuts_group_class_init (GtkShortcutsGroupClass *klass)
    * This is used internally by GTK, and must not be modified by applications.
    */
   properties[PROP_TITLE_SIZE_GROUP] =
-    g_param_spec_object ("title-size-group",
-                         P_("Title Size Group"),
-                         P_("Title Size Group"),
+    g_param_spec_object ("title-size-group", NULL, NULL,
                          GTK_TYPE_SIZE_GROUP,
                          (G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
 
@@ -331,7 +327,7 @@ gtk_shortcuts_group_class_init (GtkShortcutsGroupClass *klass)
    * This is used internally by GTK, and is not useful for applications.
    */
   properties[PROP_HEIGHT] =
-    g_param_spec_uint ("height", P_("Height"), P_("Height"),
+    g_param_spec_uint ("height", NULL, NULL,
                        0, G_MAXUINT, 1,
                        (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
 
index 1e9038a240399c2827e4621035c50b2158261cf7..c7c5e5739ea27ef766d18d07917331f078c81320 100644 (file)
@@ -293,7 +293,7 @@ gtk_shortcuts_section_class_init (GtkShortcutsSectionClass *klass)
    * to this string will make this section shown in the `GtkShortcutsWindow`.
    */
   properties[PROP_SECTION_NAME] =
-    g_param_spec_string ("section-name", P_("Section Name"), P_("Section Name"),
+    g_param_spec_string ("section-name", NULL, NULL,
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -309,7 +309,7 @@ gtk_shortcuts_section_class_init (GtkShortcutsSectionClass *klass)
    * for this purpose.
    */
   properties[PROP_VIEW_NAME] =
-    g_param_spec_string ("view-name", P_("View Name"), P_("View Name"),
+    g_param_spec_string ("view-name", NULL, NULL,
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY));
 
@@ -323,7 +323,7 @@ gtk_shortcuts_section_class_init (GtkShortcutsSectionClass *klass)
    * since the section selector will not be shown in this case.
    */
   properties[PROP_TITLE] =
-    g_param_spec_string ("title", P_("Title"), P_("Title"),
+    g_param_spec_string ("title", NULL, NULL,
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -337,7 +337,7 @@ gtk_shortcuts_section_class_init (GtkShortcutsSectionClass *klass)
    * value of 15 should work in most cases.
    */
   properties[PROP_MAX_HEIGHT] =
-    g_param_spec_uint ("max-height", P_("Maximum Height"), P_("Maximum Height"),
+    g_param_spec_uint ("max-height", NULL, NULL,
                        0, G_MAXUINT, 15,
                        (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY));
 
index d04e3671985ba7430a7d25e2fa82d812563cf308..cf685d33c3005ada5e2046e0073e71f7539e0c94 100644 (file)
@@ -580,9 +580,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
    * in .ui files.
    */
   properties[PROP_ACCELERATOR] =
-    g_param_spec_string ("accelerator",
-                         P_("Accelerator"),
-                         P_("The accelerator keys for shortcuts of type “Accelerator”"),
+    g_param_spec_string ("accelerator", NULL, NULL,
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -597,9 +595,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
    * For the other predefined gesture types, GTK provides an icon on its own.
    */
   properties[PROP_ICON] =
-    g_param_spec_object ("icon",
-                         P_("Icon"),
-                         P_("The icon to show for shortcuts of type “Other Gesture”"),
+    g_param_spec_object ("icon", NULL, NULL,
                          G_TYPE_ICON,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -609,9 +605,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
    * %TRUE if an icon has been set.
    */
   properties[PROP_ICON_SET] =
-    g_param_spec_boolean ("icon-set",
-                          P_("Icon Set"),
-                          P_("Whether an icon has been set"),
+    g_param_spec_boolean ("icon-set", NULL, NULL,
                           FALSE,
                           (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -624,9 +618,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
    * This should be a short string that can fit in a single line.
    */
   properties[PROP_TITLE] =
-    g_param_spec_string ("title",
-                         P_("Title"),
-                         P_("A short description for the shortcut"),
+    g_param_spec_string ("title", NULL, NULL,
                          "",
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -640,9 +632,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
    * types, GTK provides a subtitle on its own.
    */
   properties[PROP_SUBTITLE] =
-    g_param_spec_string ("subtitle",
-                         P_("Subtitle"),
-                         P_("A short description for the gesture"),
+    g_param_spec_string ("subtitle", NULL, NULL,
                          "",
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -652,9 +642,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
    * %TRUE if a subtitle has been set.
    */
   properties[PROP_SUBTITLE_SET] =
-    g_param_spec_boolean ("subtitle-set",
-                          P_("Subtitle Set"),
-                          P_("Whether a subtitle has been set"),
+    g_param_spec_boolean ("subtitle-set", NULL, NULL,
                           FALSE,
                           (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -666,9 +654,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
    * This is used internally by GTK, and must not be modified by applications.
    */
   properties[PROP_ACCEL_SIZE_GROUP] =
-    g_param_spec_object ("accel-size-group",
-                         P_("Accelerator Size Group"),
-                         P_("Accelerator Size Group"),
+    g_param_spec_object ("accel-size-group", NULL, NULL,
                          GTK_TYPE_SIZE_GROUP,
                          (G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
 
@@ -680,9 +666,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
    * This is used internally by GTK, and must not be modified by applications.
    */
   properties[PROP_TITLE_SIZE_GROUP] =
-    g_param_spec_object ("title-size-group",
-                         P_("Title Size Group"),
-                         P_("Title Size Group"),
+    g_param_spec_object ("title-size-group", NULL, NULL,
                          GTK_TYPE_SIZE_GROUP,
                          (G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
 
@@ -695,9 +679,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
    * set this property to %GTK_TEXT_DIR_NONE.
    */
   properties[PROP_DIRECTION] =
-    g_param_spec_enum ("direction",
-                       P_("Direction"),
-                       P_("Text direction for which this shortcut is active"),
+    g_param_spec_enum ("direction", NULL, NULL,
                        GTK_TYPE_TEXT_DIRECTION,
                        GTK_TEXT_DIR_NONE,
                        (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY));
@@ -708,9 +690,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
    * The type of shortcut that is represented.
    */
   properties[PROP_SHORTCUT_TYPE] =
-    g_param_spec_enum ("shortcut-type",
-                       P_("Shortcut Type"),
-                       P_("The type of shortcut that is represented"),
+    g_param_spec_enum ("shortcut-type", NULL, NULL,
                        GTK_TYPE_SHORTCUT_TYPE,
                        GTK_SHORTCUT_ACCELERATOR,
                        (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY));
@@ -726,9 +706,7 @@ gtk_shortcuts_shortcut_class_init (GtkShortcutsShortcutClass *klass)
    * setting [property@Gtk.ShortcutsShortcut:accelerator] is not necessary.
    */
   properties[PROP_ACTION_NAME] =
-    g_param_spec_string ("action-name",
-                         P_("Action Name"),
-                         P_("The name of the action"),
+    g_param_spec_string ("action-name", NULL, NULL,
                          NULL,
                          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
index 6eff6a0ef1da3172aeb57faf8266d25c82969fee..7c864ec5cd36451badbec3c098fc4305f28b518f 100644 (file)
@@ -749,7 +749,7 @@ gtk_shortcuts_window_class_init (GtkShortcutsWindowClass *klass)
    * objects that are in this shortcuts window.
    */
   properties[PROP_SECTION_NAME] =
-    g_param_spec_string ("section-name", P_("Section Name"), P_("Section Name"),
+    g_param_spec_string ("section-name", NULL, NULL,
                          "internal-search",
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
@@ -765,7 +765,7 @@ gtk_shortcuts_window_class_init (GtkShortcutsWindowClass *klass)
    * Set this to %NULL to show all groups.
    */
   properties[PROP_VIEW_NAME] =
-    g_param_spec_string ("view-name", P_("View Name"), P_("View Name"),
+    g_param_spec_string ("view-name", NULL, NULL,
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
index bd4cfce061f44a38cd18861d962db9a01803e554..2d7b5b8ade626e4f470dcaa512d23cebf0ad99d1 100644 (file)
@@ -657,9 +657,7 @@ gtk_keyval_trigger_class_init (GtkKeyvalTriggerClass *klass)
    * The key value for the trigger.
    */
   keyval_props[KEYVAL_PROP_KEYVAL] =
-    g_param_spec_uint (I_("keyval"),
-                       P_("Key value"),
-                       P_("The key value for the trigger"),
+    g_param_spec_uint (I_("keyval"), NULL, NULL,
                        0, G_MAXINT,
                        0,
                        G_PARAM_STATIC_STRINGS |
@@ -672,9 +670,7 @@ gtk_keyval_trigger_class_init (GtkKeyvalTriggerClass *klass)
    * The key modifiers for the trigger.
    */
   keyval_props[KEYVAL_PROP_MODIFIERS] =
-    g_param_spec_flags (I_("modifiers"),
-                        P_("Modifiers"),
-                        P_("The key modifiers for the trigger"),
+    g_param_spec_flags (I_("modifiers"), NULL, NULL,
                         GDK_TYPE_MODIFIER_TYPE,
                         0,
                         G_PARAM_STATIC_STRINGS |
@@ -913,9 +909,7 @@ gtk_mnemonic_trigger_class_init (GtkMnemonicTriggerClass *klass)
    * The key value for the trigger.
    */
   mnemonic_props[KEYVAL_PROP_KEYVAL] =
-    g_param_spec_uint (I_("keyval"),
-                       P_("Key value"),
-                       P_("The key value for the trigger"),
+    g_param_spec_uint (I_("keyval"), NULL, NULL,
                        0, G_MAXINT,
                        0,
                        G_PARAM_STATIC_STRINGS |
@@ -1159,9 +1153,7 @@ gtk_alternative_trigger_class_init (GtkAlternativeTriggerClass *klass)
    * The first `GtkShortcutTrigger` to check.
    */
   alternative_props[ALTERNATIVE_PROP_FIRST] =
-    g_param_spec_object (I_("first"),
-                         P_("First"),
-                         P_("The first trigger to check"),
+    g_param_spec_object (I_("first"), NULL, NULL,
                          GTK_TYPE_SHORTCUT_TRIGGER,
                          G_PARAM_STATIC_STRINGS |
                          G_PARAM_CONSTRUCT_ONLY |
@@ -1173,9 +1165,7 @@ gtk_alternative_trigger_class_init (GtkAlternativeTriggerClass *klass)
    * The second `GtkShortcutTrigger` to check.
    */
   alternative_props[ALTERNATIVE_PROP_SECOND] =
-    g_param_spec_object (I_("second"),
-                         P_("Second"),
-                         P_("The second trigger to check"),
+    g_param_spec_object (I_("second"), NULL, NULL,
                          GTK_TYPE_SHORTCUT_TRIGGER,
                          G_PARAM_STATIC_STRINGS |
                          G_PARAM_CONSTRUCT_ONLY |
index 8dc2af293b5d64f6bab174b9804df54fb4349838..a471705aa649a45fbdc43d5f8eb2396750cada9e 100644 (file)
@@ -475,66 +475,50 @@ gtk_sidebar_row_class_init (GtkSidebarRowClass *klass)
   object_class->finalize = gtk_sidebar_row_finalize;
 
   properties [PROP_SIDEBAR] =
-    g_param_spec_object ("sidebar",
-                         "Sidebar",
-                         "Sidebar",
+    g_param_spec_object ("sidebar", NULL, NULL,
                          GTK_TYPE_PLACES_SIDEBAR,
                          (G_PARAM_READWRITE |
                           G_PARAM_CONSTRUCT_ONLY |
                           G_PARAM_STATIC_STRINGS));
 
   properties [PROP_START_ICON] =
-    g_param_spec_object ("start-icon",
-                         "start-icon",
-                         "The start icon.",
+    g_param_spec_object ("start-icon", NULL, NULL,
                          G_TYPE_ICON,
                          (G_PARAM_READWRITE |
                           G_PARAM_STATIC_STRINGS));
 
   properties [PROP_END_ICON] =
-    g_param_spec_object ("end-icon",
-                         "end-icon",
-                         "The end icon.",
+    g_param_spec_object ("end-icon", NULL, NULL,
                          G_TYPE_ICON,
                          (G_PARAM_READWRITE |
                           G_PARAM_STATIC_STRINGS));
 
   properties [PROP_LABEL] =
-    g_param_spec_string ("label",
-                         "label",
-                         "The label text.",
+    g_param_spec_string ("label", NULL, NULL,
                          NULL,
                          (G_PARAM_READWRITE |
                           G_PARAM_STATIC_STRINGS));
 
   properties [PROP_TOOLTIP] =
-    g_param_spec_string ("tooltip",
-                         "Tooltip",
-                         "Tooltip",
+    g_param_spec_string ("tooltip", NULL, NULL,
                          NULL,
                          (G_PARAM_READWRITE |
                           G_PARAM_STATIC_STRINGS));
 
   properties [PROP_EJECTABLE] =
-    g_param_spec_boolean ("ejectable",
-                          "Ejectable",
-                          "Ejectable",
+    g_param_spec_boolean ("ejectable", NULL, NULL,
                           FALSE,
                           (G_PARAM_READWRITE |
                            G_PARAM_STATIC_STRINGS));
 
   properties [PROP_ORDER_INDEX] =
-    g_param_spec_int ("order-index",
-                      "OrderIndex",
-                      "Order Index",
+    g_param_spec_int ("order-index", NULL, NULL,
                       0, G_MAXINT, 0,
                       (G_PARAM_READWRITE |
                        G_PARAM_STATIC_STRINGS));
 
   properties [PROP_SECTION_TYPE] =
-    g_param_spec_enum ("section-type",
-                       "section type",
-                       "The section type.",
+    g_param_spec_enum ("section-type", NULL, NULL,
                        GTK_TYPE_PLACES_SECTION_TYPE,
                        GTK_PLACES_SECTION_INVALID,
                        (G_PARAM_READWRITE |
@@ -542,9 +526,7 @@ gtk_sidebar_row_class_init (GtkSidebarRowClass *klass)
                         G_PARAM_CONSTRUCT_ONLY));
 
   properties [PROP_PLACE_TYPE] =
-    g_param_spec_enum ("place-type",
-                       "place type",
-                       "The place type.",
+    g_param_spec_enum ("place-type", NULL, NULL,
                        GTK_TYPE_PLACES_PLACE_TYPE,
                        GTK_PLACES_INVALID,
                        (G_PARAM_READWRITE |
@@ -552,53 +534,41 @@ gtk_sidebar_row_class_init (GtkSidebarRowClass *klass)
                         G_PARAM_CONSTRUCT_ONLY));
 
   properties [PROP_URI] =
-    g_param_spec_string ("uri",
-                         "Uri",
-                         "Uri",
+    g_param_spec_string ("uri", NULL, NULL,
                          NULL,
                          (G_PARAM_READWRITE |
                           G_PARAM_CONSTRUCT_ONLY |
                           G_PARAM_STATIC_STRINGS));
 
   properties [PROP_DRIVE] =
-    g_param_spec_object ("drive",
-                         "Drive",
-                         "Drive",
+    g_param_spec_object ("drive", NULL, NULL,
                          G_TYPE_DRIVE,
                          (G_PARAM_READWRITE |
                           G_PARAM_CONSTRUCT_ONLY |
                           G_PARAM_STATIC_STRINGS));
 
   properties [PROP_VOLUME] =
-    g_param_spec_object ("volume",
-                         "Volume",
-                         "Volume",
+    g_param_spec_object ("volume", NULL, NULL,
                          G_TYPE_VOLUME,
                          (G_PARAM_READWRITE |
                           G_PARAM_CONSTRUCT_ONLY |
                           G_PARAM_STATIC_STRINGS));
 
   properties [PROP_MOUNT] =
-    g_param_spec_object ("mount",
-                         "Mount",
-                         "Mount",
+    g_param_spec_object ("mount", NULL, NULL,
                          G_TYPE_MOUNT,
                          (G_PARAM_READWRITE |
                           G_PARAM_CONSTRUCT_ONLY |
                           G_PARAM_STATIC_STRINGS));
 
   properties [PROP_CLOUD_PROVIDER_ACCOUNT] =
-    g_param_spec_object ("cloud-provider-account",
-                         "CloudProvidersAccount",
-                         "CloudProvidersAccount",
+    g_param_spec_object ("cloud-provider-account", NULL, NULL,
                          G_TYPE_OBJECT,
                          (G_PARAM_READWRITE |
                           G_PARAM_STATIC_STRINGS));
 
   properties [PROP_PLACEHOLDER] =
-    g_param_spec_boolean ("placeholder",
-                          "Placeholder",
-                          "Placeholder",
+    g_param_spec_boolean ("placeholder", NULL, NULL,
                           FALSE,
                           (G_PARAM_READWRITE |
                            G_PARAM_CONSTRUCT_ONLY |
index d0d50c7304f445927b2d2bac284f8d9e1bbd050f..27d62845f9a694530804d883d3e74b04c7d32935 100644 (file)
@@ -383,9 +383,7 @@ gtk_single_selection_class_init (GtkSingleSelectionClass *klass)
    * If the selection will always select an item.
    */
   properties[PROP_AUTOSELECT] =
-    g_param_spec_boolean ("autoselect",
-                          P_("Autoselect"),
-                          P_("If the selection will always select an item"),
+    g_param_spec_boolean ("autoselect", NULL, NULL,
                           TRUE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -395,9 +393,7 @@ gtk_single_selection_class_init (GtkSingleSelectionClass *klass)
    * If unselecting the selected item is allowed.
    */
   properties[PROP_CAN_UNSELECT] =
-    g_param_spec_boolean ("can-unselect",
-                          P_("Can unselect"),
-                          P_("If unselecting the selected item is allowed"),
+    g_param_spec_boolean ("can-unselect", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -407,9 +403,7 @@ gtk_single_selection_class_init (GtkSingleSelectionClass *klass)
    * Position of the selected item.
    */
   properties[PROP_SELECTED] =
-    g_param_spec_uint ("selected",
-                       P_("Selected"),
-                       P_("Position of the selected item"),
+    g_param_spec_uint ("selected", NULL, NULL,
                        0, G_MAXUINT, GTK_INVALID_LIST_POSITION,
                        G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -419,9 +413,7 @@ gtk_single_selection_class_init (GtkSingleSelectionClass *klass)
    * The selected item.
    */
   properties[PROP_SELECTED_ITEM] =
-    g_param_spec_object ("selected-item",
-                       P_("Selected Item"),
-                       P_("The selected item"),
+    g_param_spec_object ("selected-item", NULL, NULL,
                        G_TYPE_OBJECT,
                        G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -431,9 +423,7 @@ gtk_single_selection_class_init (GtkSingleSelectionClass *klass)
    * The model being managed.
    */
   properties[PROP_MODEL] =
-    g_param_spec_object ("model",
-                       P_("The model"),
-                       P_("The model being managed"),
+    g_param_spec_object ("model", NULL, NULL,
                        G_TYPE_LIST_MODEL,
                        G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
 
index 4d8e760748a3fff0936c4d93d53c697c89d6ab09..96845e75267ee7a6cfcbdc71b23744e008854214 100644 (file)
@@ -224,10 +224,7 @@ gtk_size_group_class_init (GtkSizeGroupClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_MODE,
-                                   g_param_spec_enum ("mode",
-                                                      P_("Mode"),
-                                                      P_("The directions in which the size group affects the requested sizes"
-                                                         " of its component widgets"),
+                                   g_param_spec_enum ("mode", NULL, NULL,
                                                       GTK_TYPE_SIZE_GROUP_MODE,
                                                       GTK_SIZE_GROUP_HORIZONTAL,
                                                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
index 2642d514a5b5dc4b49a8247ccd66195ba70b7bc6..3af75754ed491dcb53587e5375222ca0dbc67d29 100644 (file)
@@ -256,9 +256,7 @@ gtk_slice_list_model_class_init (GtkSliceListModelClass *class)
    * Child model to take slice from.
    */
   properties[PROP_MODEL] =
-      g_param_spec_object ("model",
-                           P_("Model"),
-                           P_("Child model to take slice from"),
+      g_param_spec_object ("model", NULL, NULL,
                            G_TYPE_LIST_MODEL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -268,9 +266,7 @@ gtk_slice_list_model_class_init (GtkSliceListModelClass *class)
    * Offset of slice.
    */
   properties[PROP_OFFSET] =
-      g_param_spec_uint ("offset",
-                         P_("Offset"),
-                         P_("Offset of slice"),
+      g_param_spec_uint ("offset", NULL, NULL,
                          0, G_MAXUINT, 0,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -280,9 +276,7 @@ gtk_slice_list_model_class_init (GtkSliceListModelClass *class)
    * Maximum size of slice.
    */
   properties[PROP_SIZE] =
-      g_param_spec_uint ("size",
-                         P_("Size"),
-                         P_("Maximum size of slice"),
+      g_param_spec_uint ("size", NULL, NULL,
                          0, G_MAXUINT, DEFAULT_SIZE,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 2d706ba5219de2db11d77912b392b13128da1f3b..46155cb60dc1d933f756df4db4d34fe74612fe61 100644 (file)
@@ -784,9 +784,7 @@ gtk_sort_list_model_class_init (GtkSortListModelClass *class)
    * If the model should sort items incrementally.
    */
   properties[PROP_INCREMENTAL] =
-      g_param_spec_boolean ("incremental",
-                            P_("Incremental"),
-                            P_("Sort items incrementally"),
+      g_param_spec_boolean ("incremental", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -796,9 +794,7 @@ gtk_sort_list_model_class_init (GtkSortListModelClass *class)
    * The model being sorted.
    */
   properties[PROP_MODEL] =
-      g_param_spec_object ("model",
-                           P_("Model"),
-                           P_("The model being sorted"),
+      g_param_spec_object ("model", NULL, NULL,
                            G_TYPE_LIST_MODEL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -808,9 +804,7 @@ gtk_sort_list_model_class_init (GtkSortListModelClass *class)
    * Estimate of unsorted items remaining.
    */
   properties[PROP_PENDING] =
-      g_param_spec_uint ("pending",
-                         P_("Pending"),
-                         P_("Estimate of unsorted items remaining"),
+      g_param_spec_uint ("pending", NULL, NULL,
                          0, G_MAXUINT, 0,
                          GTK_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -820,9 +814,7 @@ gtk_sort_list_model_class_init (GtkSortListModelClass *class)
    * The sorter for this model.
    */
   properties[PROP_SORTER] =
-      g_param_spec_object ("sorter",
-                            P_("Sorter"),
-                            P_("The sorter for this model"),
+      g_param_spec_object ("sorter", NULL, NULL,
                             GTK_TYPE_SORTER,
                             GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 72b7934f54c695daf163772197db48b8e1f201f1..e65d623b30a4fa7e76d4b8896c0fcafa8c31ee5c 100644 (file)
@@ -371,9 +371,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
    * The adjustment that holds the value of the spin button.
    */
   spinbutton_props[PROP_ADJUSTMENT] =
-    g_param_spec_object ("adjustment",
-                         P_("Adjustment"),
-                         P_("The adjustment that holds the value of the spin button"),
+    g_param_spec_object ("adjustment", NULL, NULL,
                          GTK_TYPE_ADJUSTMENT,
                          GTK_PARAM_READWRITE);
 
@@ -383,9 +381,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
    * The acceleration rate when you hold down a button or key.
    */
   spinbutton_props[PROP_CLIMB_RATE] =
-    g_param_spec_double ("climb-rate",
-                         P_("Climb Rate"),
-                         P_("The acceleration rate when you hold down a button or key"),
+    g_param_spec_double ("climb-rate", NULL, NULL,
                          0.0, G_MAXDOUBLE, 0.0,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -395,9 +391,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
    * The number of decimal places to display.
    */
   spinbutton_props[PROP_DIGITS] =
-    g_param_spec_uint ("digits",
-                       P_("Digits"),
-                       P_("The number of decimal places to display"),
+    g_param_spec_uint ("digits", NULL, NULL,
                        0, MAX_DIGITS, 0,
                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -408,9 +402,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
    * nearest step increment.
    */
   spinbutton_props[PROP_SNAP_TO_TICKS] =
-    g_param_spec_boolean ("snap-to-ticks",
-                          P_("Snap to Ticks"),
-                          P_("Whether erroneous values are automatically changed to a spin button’s nearest step increment"),
+    g_param_spec_boolean ("snap-to-ticks", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -420,9 +412,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
    * Whether non-numeric characters should be ignored.
    */
   spinbutton_props[PROP_NUMERIC] =
-    g_param_spec_boolean ("numeric",
-                          P_("Numeric"),
-                          P_("Whether non-numeric characters should be ignored"),
+    g_param_spec_boolean ("numeric", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -432,9 +422,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
    * Whether a spin button should wrap upon reaching its limits.
    */
   spinbutton_props[PROP_WRAP] =
-    g_param_spec_boolean ("wrap",
-                          P_("Wrap"),
-                          P_("Whether a spin button should wrap upon reaching its limits"),
+    g_param_spec_boolean ("wrap", NULL, NULL,
                           FALSE,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -445,9 +433,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
    * is acceptable.
    */
   spinbutton_props[PROP_UPDATE_POLICY] =
-    g_param_spec_enum ("update-policy",
-                       P_("Update Policy"),
-                       P_("Whether the spin button should update always, or only when the value is legal"),
+    g_param_spec_enum ("update-policy", NULL, NULL,
                        GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY,
                        GTK_UPDATE_ALWAYS,
                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -458,9 +444,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
    * The current value.
    */
   spinbutton_props[PROP_VALUE] =
-    g_param_spec_double ("value",
-                         P_("Value"),
-                         P_("Reads the current value, or sets a new value"),
+    g_param_spec_double ("value", NULL, NULL,
                          -G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index 163911552d62630c81ae17c6657012b078ef9504..4d487e1c4a5de7c80da1c9d55cf8c0d9f82c4834 100644 (file)
@@ -225,9 +225,7 @@ gtk_spinner_class_init (GtkSpinnerClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SPINNING,
-                                   g_param_spec_boolean ("spinning",
-                                                         P_("Spinning"),
-                                                         P_("Whether the spinner is spinning"),
+                                   g_param_spec_boolean ("spinning", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index facf7ca3eb3cdd36e6d1c4e1e38ab4c127ca2cff..c6a292f21b20cd89049cfd2e7fe5ea42fd27984b 100644 (file)
@@ -411,9 +411,7 @@ gtk_stack_page_class_init (GtkStackPageClass *class)
    * The child that this page is for.
    */
   stack_page_props[CHILD_PROP_CHILD] =
-    g_param_spec_object ("child",
-                         P_("Child"),
-                         P_("The child of the page"),
+    g_param_spec_object ("child", NULL, NULL,
                          GTK_TYPE_WIDGET,
                          GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
 
@@ -423,9 +421,7 @@ gtk_stack_page_class_init (GtkStackPageClass *class)
    * The name of the child page.
    */
   stack_page_props[CHILD_PROP_NAME] =
-    g_param_spec_string ("name",
-                         P_("Name"),
-                         P_("The name of the child page"),
+    g_param_spec_string ("name", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE);
 
@@ -435,9 +431,7 @@ gtk_stack_page_class_init (GtkStackPageClass *class)
    * The title of the child page.
    */
   stack_page_props[CHILD_PROP_TITLE] =
-    g_param_spec_string ("title",
-                         P_("Title"),
-                         P_("The title of the child page"),
+    g_param_spec_string ("title", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE);
 
@@ -447,9 +441,7 @@ gtk_stack_page_class_init (GtkStackPageClass *class)
    * The icon name of the child page.
    */
   stack_page_props[CHILD_PROP_ICON_NAME] =
-    g_param_spec_string ("icon-name",
-                         P_("Icon name"),
-                         P_("The icon name of the child page"),
+    g_param_spec_string ("icon-name", NULL, NULL,
                          NULL,
                          GTK_PARAM_READWRITE);
 
@@ -463,9 +455,7 @@ gtk_stack_page_class_init (GtkStackPageClass *class)
    * attention and it is not the current one.
    */
   stack_page_props[CHILD_PROP_NEEDS_ATTENTION] =
-    g_param_spec_boolean ("needs-attention",
-                         P_("Needs Attention"),
-                         P_("Whether this page needs attention"),
+    g_param_spec_boolean ("needs-attention", NULL, NULL,
                          FALSE,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -475,9 +465,7 @@ gtk_stack_page_class_init (GtkStackPageClass *class)
    * Whether this page is visible.
    */
   stack_page_props[CHILD_PROP_VISIBLE] =
-    g_param_spec_boolean ("visible",
-                         P_("Visible"),
-                         P_("Whether this page is visible"),
+    g_param_spec_boolean ("visible", NULL, NULL,
                          TRUE,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -487,9 +475,7 @@ gtk_stack_page_class_init (GtkStackPageClass *class)
    * If set, an underline in the title indicates a mnemonic.
    */
   stack_page_props[CHILD_PROP_USE_UNDERLINE] =
-    g_param_spec_boolean ("use-underline",
-                         P_("Use underline"),
-                         P_("If set, an underline in the title indicates the next character should be used for the mnemonic accelerator key"),
+    g_param_spec_boolean ("use-underline", NULL, NULL,
                          FALSE,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -817,7 +803,7 @@ gtk_stack_class_init (GtkStackClass *klass)
    * %TRUE if the stack allocates the same width for all children.
    */
   stack_props[PROP_HHOMOGENEOUS] =
-      g_param_spec_boolean ("hhomogeneous", P_("Horizontally homogeneous"), P_("Horizontally homogeneous sizing"),
+      g_param_spec_boolean ("hhomogeneous", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -827,7 +813,7 @@ gtk_stack_class_init (GtkStackClass *klass)
    * %TRUE if the stack allocates the same height for all children.
    */
   stack_props[PROP_VHOMOGENEOUS] =
-      g_param_spec_boolean ("vhomogeneous", P_("Vertically homogeneous"), P_("Vertically homogeneous sizing"),
+      g_param_spec_boolean ("vhomogeneous", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -837,7 +823,7 @@ gtk_stack_class_init (GtkStackClass *klass)
    * The widget currently visible in the stack.
    */
   stack_props[PROP_VISIBLE_CHILD] =
-      g_param_spec_object ("visible-child", P_("Visible child"), P_("The widget currently visible in the stack"),
+      g_param_spec_object ("visible-child", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -847,7 +833,7 @@ gtk_stack_class_init (GtkStackClass *klass)
    * The name of the widget currently visible in the stack.
    */
   stack_props[PROP_VISIBLE_CHILD_NAME] =
-      g_param_spec_string ("visible-child-name", P_("Name of visible child"), P_("The name of the widget currently visible in the stack"),
+      g_param_spec_string ("visible-child-name", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -857,7 +843,7 @@ gtk_stack_class_init (GtkStackClass *klass)
    * The animation duration, in milliseconds.
    */
   stack_props[PROP_TRANSITION_DURATION] =
-      g_param_spec_uint ("transition-duration", P_("Transition duration"), P_("The animation duration, in milliseconds"),
+      g_param_spec_uint ("transition-duration", NULL, NULL,
                          0, G_MAXUINT, 200,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -867,7 +853,7 @@ gtk_stack_class_init (GtkStackClass *klass)
    * The type of animation used to transition.
    */
   stack_props[PROP_TRANSITION_TYPE] =
-      g_param_spec_enum ("transition-type", P_("Transition type"), P_("The type of animation used to transition"),
+      g_param_spec_enum ("transition-type", NULL, NULL,
                          GTK_TYPE_STACK_TRANSITION_TYPE, GTK_STACK_TRANSITION_TYPE_NONE,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -877,7 +863,7 @@ gtk_stack_class_init (GtkStackClass *klass)
    * Whether or not the transition is currently running.
    */
   stack_props[PROP_TRANSITION_RUNNING] =
-      g_param_spec_boolean ("transition-running", P_("Transition running"), P_("Whether or not the transition is currently running"),
+      g_param_spec_boolean ("transition-running", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READABLE);
 
@@ -887,7 +873,7 @@ gtk_stack_class_init (GtkStackClass *klass)
    * Whether or not the size should smoothly change during the transition.
    */
   stack_props[PROP_INTERPOLATE_SIZE] =
-      g_param_spec_boolean ("interpolate-size", P_("Interpolate size"), P_("Whether or not the size should smoothly change when changing between differently sized children"),
+      g_param_spec_boolean ("interpolate-size", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -897,7 +883,7 @@ gtk_stack_class_init (GtkStackClass *klass)
    * A selection model with the stack pages.
    */
   stack_props[PROP_PAGES] =
-      g_param_spec_object ("pages", P_("Pages"), P_("A selection model with the stacks pages"),
+      g_param_spec_object ("pages", NULL, NULL,
                            GTK_TYPE_SELECTION_MODEL,
                            GTK_PARAM_READABLE);
 
index 49d26de4302e4d4c9b72b552d3ad2c86a7a135ea..675c12aeebc37925720f16a37392acdb0d1aef5f 100644 (file)
@@ -366,8 +366,7 @@ gtk_stack_sidebar_class_init (GtkStackSidebarClass *klass)
    * The stack.
    */
   obj_properties[PROP_STACK] =
-      g_param_spec_object (I_("stack"), P_("Stack"),
-                           P_("Associated stack for this GtkStackSidebar"),
+      g_param_spec_object (I_("stack"), NULL, NULL,
                            GTK_TYPE_STACK,
                            G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
index a77bca83003f30f6f1b3877136bd98f59bb2659f..cd1e24bd73764f302cc41340b0a9a1de8cb58351 100644 (file)
@@ -549,9 +549,7 @@ gtk_stack_switcher_class_init (GtkStackSwitcherClass *class)
    */
   g_object_class_install_property (object_class,
                                    PROP_STACK,
-                                   g_param_spec_object ("stack",
-                                                        P_("Stack"),
-                                                        P_("Stack"),
+                                   g_param_spec_object ("stack", NULL, NULL,
                                                         GTK_TYPE_STACK,
                                                         GTK_PARAM_READWRITE |
                                                         G_PARAM_CONSTRUCT));
index c4f3c9e6306c500a3e4d0cf88504b1d5e949519b..2a33071cf486f165dc5c5fb7631e00c93118fd93 100644 (file)
@@ -253,9 +253,7 @@ gtk_string_filter_class_init (GtkStringFilterClass *class)
    * The expression to evaluate on item to get a string to compare with.
    */
   properties[PROP_EXPRESSION] =
-    gtk_param_spec_expression ("expression",
-                               P_("Expression"),
-                               P_("Expression to compare with"),
+    gtk_param_spec_expression ("expression", NULL, NULL,
                                G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
   /**
@@ -264,9 +262,7 @@ gtk_string_filter_class_init (GtkStringFilterClass *class)
    * If matching is case sensitive.
    */
   properties[PROP_IGNORE_CASE] =
-      g_param_spec_boolean ("ignore-case",
-                            P_("Ignore case"),
-                            P_("If matching is case sensitive"),
+      g_param_spec_boolean ("ignore-case", NULL, NULL,
                             TRUE,
                             G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -276,9 +272,7 @@ gtk_string_filter_class_init (GtkStringFilterClass *class)
    * If exact matches are necessary or if substrings are allowed.
    */
   properties[PROP_MATCH_MODE] =
-      g_param_spec_enum ("match-mode",
-                         P_("Match mode"),
-                         P_("If exact matches are necessary or if substrings are allowed"),
+      g_param_spec_enum ("match-mode", NULL, NULL,
                          GTK_TYPE_STRING_FILTER_MATCH_MODE,
                          GTK_STRING_FILTER_MATCH_MODE_SUBSTRING,
                          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
@@ -289,9 +283,7 @@ gtk_string_filter_class_init (GtkStringFilterClass *class)
    * The search term.
    */
   properties[PROP_SEARCH] =
-      g_param_spec_string ("search",
-                           P_("Search"),
-                           P_("The search term"),
+      g_param_spec_string ("search", NULL, NULL,
                            NULL,
                            G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
index 2b12cb957fba9d890735d61a4e5d012742b310e3..74beb96a86e562423ca59ed26b6067cf3edda107 100644 (file)
@@ -134,7 +134,7 @@ gtk_string_object_class_init (GtkStringObjectClass *class)
    *
    * The string.
    */
-  pspec = g_param_spec_string ("string", "String", "String",
+  pspec = g_param_spec_string ("string", NULL, NULL,
                                NULL,
                                G_PARAM_READABLE |
                                G_PARAM_STATIC_STRINGS);
index a6fcefab77d8faa53bcee689bad763c03bf51a53..42971958381a8eb167a521538d99d53b7b2b3da4 100644 (file)
@@ -291,9 +291,7 @@ gtk_string_sorter_class_init (GtkStringSorterClass *class)
    * The expression to evaluate on item to get a string to compare with.
    */
   properties[PROP_EXPRESSION] =
-    gtk_param_spec_expression ("expression",
-                               P_("Expression"),
-                               P_("Expression to compare with"),
+    gtk_param_spec_expression ("expression", NULL, NULL,
                                G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
   /**
@@ -302,9 +300,7 @@ gtk_string_sorter_class_init (GtkStringSorterClass *class)
    * If matching is case sensitive.
    */
   properties[PROP_IGNORE_CASE] =
-      g_param_spec_boolean ("ignore-case",
-                            P_("Ignore case"),
-                            P_("If matching is case sensitive"),
+      g_param_spec_boolean ("ignore-case", NULL, NULL,
                             TRUE,
                             G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
index 4554a4dd1ba26a1b238e423b365c541804f67c80..5fca489632175e9e2b8b31994e8f83750efcce48 100644 (file)
@@ -120,9 +120,7 @@ gtk_style_context_class_init (GtkStyleContextClass *klass)
   object_class->get_property = gtk_style_context_impl_get_property;
 
   properties[PROP_DISPLAY] =
-      g_param_spec_object ("display",
-                           P_("Display"),
-                           P_("The associated GdkDisplay"),
+      g_param_spec_object ("display", NULL, NULL,
                            GDK_TYPE_DISPLAY,
                            GTK_PARAM_READWRITE);
 
index f560d25fd53c0d6ae7002488c53786f583c63733..4ca3ff342fe7272008b475f755a5114b7c4b6a1a 100644 (file)
@@ -99,9 +99,7 @@ _gtk_style_property_class_init (GtkStylePropertyClass *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_NAME,
-                                   g_param_spec_string ("name",
-                                                        P_("Property name"),
-                                                        P_("The name of the property"),
+                                   g_param_spec_string ("name", NULL, NULL,
                                                         NULL,
                                                         G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
index ef3e58ec80ec9d0f8c9a4c35d156478e72b0d8f6..c4336cca6355ff6179d370b899c44a8d4b4f329c 100644 (file)
@@ -518,9 +518,7 @@ gtk_switch_class_init (GtkSwitchClass *klass)
    * Whether the `GtkSwitch` widget is in its on or off state.
    */
   switch_props[PROP_ACTIVE] =
-    g_param_spec_boolean ("active",
-                          P_("Active"),
-                          P_("Whether the switch is on or off"),
+    g_param_spec_boolean ("active", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -532,9 +530,7 @@ gtk_switch_class_init (GtkSwitchClass *klass)
    * See [signal@GtkSwitch::state-set] for details.
    */
   switch_props[PROP_STATE] =
-    g_param_spec_boolean ("state",
-                          P_("State"),
-                          P_("The backend state"),
+    g_param_spec_boolean ("state", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index e8e1c5156316669b74f4670841cad55a5959d8d6..6bbb6b309881c014652fa0d0e08a16630b060c75 100644 (file)
@@ -757,9 +757,7 @@ gtk_text_class_init (GtkTextClass *class)
    * The `GtkEntryBuffer` object which stores the text.
    */
   text_props[PROP_BUFFER] =
-      g_param_spec_object ("buffer",
-                           P_("Text Buffer"),
-                           P_("Text buffer object which actually stores self text"),
+      g_param_spec_object ("buffer", NULL, NULL,
                            GTK_TYPE_ENTRY_BUFFER,
                            GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -771,9 +769,7 @@ gtk_text_class_init (GtkTextClass *class)
    * Zero indicates no limit.
    */
   text_props[PROP_MAX_LENGTH] =
-      g_param_spec_int ("max-length",
-                        P_("Maximum length"),
-                        P_("Maximum number of characters for this self. Zero if no maximum"),
+      g_param_spec_int ("max-length", NULL, NULL,
                         0, GTK_ENTRY_BUFFER_MAX_SIZE,
                         0,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -784,9 +780,7 @@ gtk_text_class_init (GtkTextClass *class)
    * The character to used when masking contents (in “password mode”).
    */
   text_props[PROP_INVISIBLE_CHAR] =
-      g_param_spec_unichar ("invisible-char",
-                            P_("Invisible character"),
-                            P_("The character to use when masking self contents (in “password mode”)"),
+      g_param_spec_unichar ("invisible-char", NULL, NULL,
                             '*',
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -796,9 +790,7 @@ gtk_text_class_init (GtkTextClass *class)
    * Whether to activate the default widget when Enter is pressed.
    */
   text_props[PROP_ACTIVATES_DEFAULT] =
-      g_param_spec_boolean ("activates-default",
-                            P_("Activates default"),
-                            P_("Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed"),
+      g_param_spec_boolean ("activates-default", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -808,9 +800,7 @@ gtk_text_class_init (GtkTextClass *class)
    * Number of pixels scrolled of the screen to the left.
    */
   text_props[PROP_SCROLL_OFFSET] =
-      g_param_spec_int ("scroll-offset",
-                        P_("Scroll offset"),
-                        P_("Number of pixels of the text scrolled off the screen to the left"),
+      g_param_spec_int ("scroll-offset", NULL, NULL,
                         0, G_MAXINT,
                         0,
                         GTK_PARAM_READABLE|G_PARAM_EXPLICIT_NOTIFY);
@@ -821,9 +811,7 @@ gtk_text_class_init (GtkTextClass *class)
    * When %TRUE, pasted multi-line text is truncated to the first line.
    */
   text_props[PROP_TRUNCATE_MULTILINE] =
-      g_param_spec_boolean ("truncate-multiline",
-                            P_("Truncate multiline"),
-                            P_("Whether to truncate multiline pastes to one line."),
+      g_param_spec_boolean ("truncate-multiline", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -833,9 +821,7 @@ gtk_text_class_init (GtkTextClass *class)
    * If text is overwritten when typing in the `GtkText`.
    */
   text_props[PROP_OVERWRITE_MODE] =
-      g_param_spec_boolean ("overwrite-mode",
-                            P_("Overwrite mode"),
-                            P_("Whether new text overwrites existing text"),
+      g_param_spec_boolean ("overwrite-mode", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -845,9 +831,7 @@ gtk_text_class_init (GtkTextClass *class)
    * Whether the invisible char has been set for the `GtkText`.
    */
   text_props[PROP_INVISIBLE_CHAR_SET] =
-      g_param_spec_boolean ("invisible-char-set",
-                            P_("Invisible character set"),
-                            P_("Whether the invisible character has been set"),
+      g_param_spec_boolean ("invisible-char-set", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE);
 
@@ -858,9 +842,7 @@ gtk_text_class_init (GtkTextClass *class)
   * and unfocused.
   */
   text_props[PROP_PLACEHOLDER_TEXT] =
-      g_param_spec_string ("placeholder-text",
-                           P_("Placeholder text"),
-                           P_("Show text in the GtkText when it’s empty and unfocused"),
+      g_param_spec_string ("placeholder-text", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -876,9 +858,7 @@ gtk_text_class_init (GtkTextClass *class)
    * property.
    */
   text_props[PROP_IM_MODULE] =
-      g_param_spec_string ("im-module",
-                           P_("IM module"),
-                           P_("Which IM module should be used"),
+      g_param_spec_string ("im-module", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -895,9 +875,7 @@ gtk_text_class_init (GtkTextClass *class)
    * [property@Gtk.Text:visibility].
    */
   text_props[PROP_INPUT_PURPOSE] =
-      g_param_spec_enum ("input-purpose",
-                         P_("Purpose"),
-                         P_("Purpose of the text field"),
+      g_param_spec_enum ("input-purpose", NULL, NULL,
                          GTK_TYPE_INPUT_PURPOSE,
                          GTK_INPUT_PURPOSE_FREE_FORM,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -909,9 +887,7 @@ gtk_text_class_init (GtkTextClass *class)
    * their behaviour.
    */
   text_props[PROP_INPUT_HINTS] =
-      g_param_spec_flags ("input-hints",
-                          P_("hints"),
-                          P_("Hints for the text field behaviour"),
+      g_param_spec_flags ("input-hints", NULL, NULL,
                           GTK_TYPE_INPUT_HINTS,
                           GTK_INPUT_HINT_NONE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -927,9 +903,7 @@ gtk_text_class_init (GtkTextClass *class)
    * `GtkEntryBuffer` text, i.e. without the preedit string.
    */
   text_props[PROP_ATTRIBUTES] =
-      g_param_spec_boxed ("attributes",
-                          P_("Attributes"),
-                          P_("A list of style attributes to apply to the text of the GtkText"),
+      g_param_spec_boxed ("attributes", NULL, NULL,
                           PANGO_TYPE_ATTR_LIST,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -939,9 +913,7 @@ gtk_text_class_init (GtkTextClass *class)
    * A list of tabstops to apply to the text of the `GtkText`.
    */
   text_props[PROP_TABS] =
-      g_param_spec_boxed ("tabs",
-                          P_("Tabs"),
-                          P_("A list of tabstop locations to apply to the text of the GtkText"),
+      g_param_spec_boxed ("tabs", NULL, NULL,
                           PANGO_TYPE_TAB_ARRAY,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -951,9 +923,7 @@ gtk_text_class_init (GtkTextClass *class)
    * Whether to suggest Emoji replacements.
    */
   text_props[PROP_ENABLE_EMOJI_COMPLETION] =
-      g_param_spec_boolean ("enable-emoji-completion",
-                            P_("Enable Emoji completion"),
-                            P_("Whether to suggest Emoji replacements"),
+      g_param_spec_boolean ("enable-emoji-completion", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -963,9 +933,7 @@ gtk_text_class_init (GtkTextClass *class)
    * If %FALSE, the text is masked with the “invisible char”.
    */
   text_props[PROP_VISIBILITY] =
-      g_param_spec_boolean ("visibility",
-                            P_("Visibility"),
-                            P_("FALSE displays the “invisible char” instead of the actual text (password mode)"),
+      g_param_spec_boolean ("visibility", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -975,9 +943,7 @@ gtk_text_class_init (GtkTextClass *class)
    * Whether the widget should grow and shrink with the content.
    */
   text_props[PROP_PROPAGATE_TEXT_WIDTH] =
-      g_param_spec_boolean ("propagate-text-width",
-                            P_("Propagate text width"),
-                            P_("Whether the entry should grow and shrink with the content"),
+      g_param_spec_boolean ("propagate-text-width", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -988,9 +954,7 @@ gtk_text_class_init (GtkTextClass *class)
    * the context menu.
    */
   text_props[PROP_EXTRA_MENU] =
-      g_param_spec_object ("extra-menu",
-                          P_("Extra menu"),
-                          P_("Menu model to append to the context menu"),
+      g_param_spec_object ("extra-menu", NULL, NULL,
                           G_TYPE_MENU_MODEL,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index c2cd148868b5b696bc04e420de734eafbdf95660..b3fa50ab5c6ad488f463bebdd9b9696f99767884 100644 (file)
@@ -461,9 +461,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
    * The GtkTextTagTable for the buffer.
    */
   text_buffer_props[PROP_TAG_TABLE] =
-      g_param_spec_object ("tag-table",
-                           P_("Tag Table"),
-                           P_("Text Tag Table"),
+      g_param_spec_object ("tag-table", NULL, NULL,
                            GTK_TYPE_TEXT_TAG_TABLE,
                            GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
 
@@ -478,9 +476,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
    * see [method@Gtk.TextBuffer.get_text] for more information.
    */
   text_buffer_props[PROP_TEXT] =
-      g_param_spec_string ("text",
-                           P_("Text"),
-                           P_("Current text of the buffer"),
+      g_param_spec_string ("text", NULL, NULL,
                            "",
                            GTK_PARAM_READWRITE);
 
@@ -490,9 +486,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
    * Whether the buffer has some text currently selected.
    */
   text_buffer_props[PROP_HAS_SELECTION] =
-      g_param_spec_boolean ("has-selection",
-                            P_("Has selection"),
-                            P_("Whether the buffer has some text currently selected"),
+      g_param_spec_boolean ("has-selection", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READABLE);
 
@@ -502,9 +496,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
    * Denotes that the buffer can undo the last applied action.
    */
   text_buffer_props[PROP_CAN_UNDO] =
-    g_param_spec_boolean ("can-undo",
-                          P_("Can Undo"),
-                          P_("If the buffer can have the last action undone"),
+    g_param_spec_boolean ("can-undo", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READABLE);
 
@@ -514,9 +506,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
    * Denotes that the buffer can reapply the last undone action.
    */
   text_buffer_props[PROP_CAN_REDO] =
-    g_param_spec_boolean ("can-redo",
-                          P_("Can Redo"),
-                          P_("If the buffer can have the last undone action reapplied"),
+    g_param_spec_boolean ("can-redo", NULL, NULL,
                           FALSE,
                           GTK_PARAM_READABLE);
 
@@ -526,9 +516,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
    * Denotes if support for undoing and redoing changes to the buffer is allowed.
    */
   text_buffer_props[PROP_ENABLE_UNDO] =
-    g_param_spec_boolean ("enable-undo",
-                          "Enable Undo",
-                          "Enable support for undo and redo in the text view",
+    g_param_spec_boolean ("enable-undo", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -541,9 +529,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
    * It is useful for getting notified when the cursor moves.
    */
   text_buffer_props[PROP_CURSOR_POSITION] =
-      g_param_spec_int ("cursor-position",
-                        P_("Cursor position"),
-                        P_("The position of the insert mark (as offset from the beginning of the buffer)"),
+      g_param_spec_int ("cursor-position", NULL, NULL,
                        0, G_MAXINT,
                         0,
                         GTK_PARAM_READABLE);
index 58b56057c2da835340e008d75149cdb34a2209f4..151f00245bd9c18663c8ce10ebed6fc7a7d98a53 100644 (file)
@@ -133,9 +133,7 @@ gtk_text_mark_class_init (GtkTextMarkClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_NAME,
-                                   g_param_spec_string ("name",
-                                                        P_("Name"),
-                                                        P_("Mark name"),
+                                   g_param_spec_string ("name", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -150,9 +148,7 @@ gtk_text_mark_class_init (GtkTextMarkClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_LEFT_GRAVITY,
-                                   g_param_spec_boolean ("left-gravity",
-                                                         P_("Left gravity"),
-                                                         P_("Whether the mark has left gravity"),
+                                   g_param_spec_boolean ("left-gravity", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 }
index e4fc18413e708685505d13a0da265b05d4832b08..b1f670753f9b7f0e5248459ef3c22089cc04b6ef 100644 (file)
@@ -217,9 +217,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_NAME,
-                                   g_param_spec_string ("name",
-                                                        P_("Tag name"),
-                                                        P_("Name used to refer to the text tag. NULL for anonymous tags"),
+                                   g_param_spec_string ("name", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -232,9 +230,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_BACKGROUND,
-                                   g_param_spec_string ("background",
-                                                        P_("Background color name"),
-                                                        P_("Background color as a string"),
+                                   g_param_spec_string ("background", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_WRITABLE));
 
@@ -245,9 +241,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_BACKGROUND_RGBA,
-                                   g_param_spec_boxed ("background-rgba",
-                                                       P_("Background RGBA"),
-                                                       P_("Background color as a GdkRGBA"),
+                                   g_param_spec_boxed ("background-rgba", NULL, NULL,
                                                        GDK_TYPE_RGBA,
                                                        GTK_PARAM_READWRITE));
 
@@ -259,9 +253,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_BACKGROUND_FULL_HEIGHT,
-                                   g_param_spec_boolean ("background-full-height",
-                                                         P_("Background full height"),
-                                                         P_("Whether the background color fills the entire line height or only the height of the tagged characters"),
+                                   g_param_spec_boolean ("background-full-height", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
@@ -272,9 +264,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_FOREGROUND,
-                                   g_param_spec_string ("foreground",
-                                                        P_("Foreground color name"),
-                                                        P_("Foreground color as a string"),
+                                   g_param_spec_string ("foreground", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_WRITABLE));
 
@@ -285,9 +275,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_FOREGROUND_RGBA,
-                                   g_param_spec_boxed ("foreground-rgba",
-                                                       P_("Foreground RGBA"),
-                                                       P_("Foreground color as a GdkRGBA"),
+                                   g_param_spec_boxed ("foreground-rgba", NULL, NULL,
                                                        GDK_TYPE_RGBA,
                                                        GTK_PARAM_READWRITE));
 
@@ -298,9 +286,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_DIRECTION,
-                                   g_param_spec_enum ("direction",
-                                                      P_("Text direction"),
-                                                      P_("Text direction, e.g. right-to-left or left-to-right"),
+                                   g_param_spec_enum ("direction", NULL, NULL,
                                                       GTK_TYPE_TEXT_DIRECTION,
                                                       GTK_TEXT_DIR_NONE,
                                                       GTK_PARAM_READWRITE));
@@ -312,9 +298,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_EDITABLE,
-                                   g_param_spec_boolean ("editable",
-                                                         P_("Editable"),
-                                                         P_("Whether the text can be modified by the user"),
+                                   g_param_spec_boolean ("editable", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE));
 
@@ -328,9 +312,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_FONT,
-                                   g_param_spec_string ("font",
-                                                        P_("Font"),
-                                                        P_("Font description as a string, e.g. “Sans Italic 12”"),
+                                   g_param_spec_string ("font", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_READWRITE));
 
@@ -341,9 +323,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_FONT_DESC,
-                                   g_param_spec_boxed ("font-desc",
-                                                       P_("Font"),
-                                                       P_("Font description as a PangoFontDescription struct"),
+                                   g_param_spec_boxed ("font-desc", NULL, NULL,
                                                        PANGO_TYPE_FONT_DESCRIPTION,
                                                        GTK_PARAM_READWRITE));
 
@@ -354,9 +334,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_FAMILY,
-                                   g_param_spec_string ("family",
-                                                        P_("Font family"),
-                                                        P_("Name of the font family, e.g. Sans, Helvetica, Times, Monospace"),
+                                   g_param_spec_string ("family", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_READWRITE));
 
@@ -367,9 +345,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_STYLE,
-                                   g_param_spec_enum ("style",
-                                                      P_("Font style"),
-                                                      P_("Font style as a PangoStyle, e.g. PANGO_STYLE_ITALIC"),
+                                   g_param_spec_enum ("style", NULL, NULL,
                                                       PANGO_TYPE_STYLE,
                                                       PANGO_STYLE_NORMAL,
                                                       GTK_PARAM_READWRITE));
@@ -381,9 +357,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_VARIANT,
-                                   g_param_spec_enum ("variant",
-                                                     P_("Font variant"),
-                                                     P_("Font variant as a PangoVariant, e.g. PANGO_VARIANT_SMALL_CAPS"),
+                                   g_param_spec_enum ("variant", NULL, NULL,
                                                       PANGO_TYPE_VARIANT,
                                                       PANGO_VARIANT_NORMAL,
                                                       GTK_PARAM_READWRITE));
@@ -394,9 +368,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_WEIGHT,
-                                   g_param_spec_int ("weight",
-                                                     P_("Font weight"),
-                                                     P_("Font weight as an integer, see predefined values in PangoWeight; for example, PANGO_WEIGHT_BOLD"),
+                                   g_param_spec_int ("weight", NULL, NULL,
                                                      0,
                                                      G_MAXINT,
                                                      PANGO_WEIGHT_NORMAL,
@@ -409,9 +381,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_STRETCH,
-                                   g_param_spec_enum ("stretch",
-                                                      P_("Font stretch"),
-                                                      P_("Font stretch as a PangoStretch, e.g. PANGO_STRETCH_CONDENSED"),
+                                   g_param_spec_enum ("stretch", NULL, NULL,
                                                       PANGO_TYPE_STRETCH,
                                                       PANGO_STRETCH_NORMAL,
                                                       GTK_PARAM_READWRITE));
@@ -423,9 +393,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_SIZE,
-                                   g_param_spec_int ("size",
-                                                     P_("Font size"),
-                                                     P_("Font size in Pango units"),
+                                   g_param_spec_int ("size", NULL, NULL,
                                                      0,
                                                      G_MAXINT,
                                                      0,
@@ -441,9 +409,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_SCALE,
-                                   g_param_spec_double ("scale",
-                                                        P_("Font scale"),
-                                                        P_("Font size as a scale factor relative to the default font size. This properly adapts to theme changes etc. so is recommended. Pango predefines some scales such as PANGO_SCALE_X_LARGE"),
+                                   g_param_spec_double ("scale", NULL, NULL,
                                                         0.0,
                                                         G_MAXDOUBLE,
                                                         1.0,
@@ -456,9 +422,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_SIZE_POINTS,
-                                   g_param_spec_double ("size-points",
-                                                        P_("Font points"),
-                                                        P_("Font size in points"),
+                                   g_param_spec_double ("size-points", NULL, NULL,
                                                         0.0,
                                                         G_MAXDOUBLE,
                                                         0.0,
@@ -471,9 +435,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_JUSTIFICATION,
-                                   g_param_spec_enum ("justification",
-                                                      P_("Justification"),
-                                                      P_("Left, right, or center justification"),
+                                   g_param_spec_enum ("justification", NULL, NULL,
                                                       GTK_TYPE_JUSTIFICATION,
                                                       GTK_JUSTIFY_LEFT,
                                                       GTK_PARAM_READWRITE));
@@ -491,9 +453,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_LANGUAGE,
-                                   g_param_spec_string ("language",
-                                                        P_("Language"),
-                                                        P_("The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If not set, an appropriate default will be used."),
+                                   g_param_spec_string ("language", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_READWRITE));  
 
@@ -504,9 +464,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_LEFT_MARGIN,
-                                   g_param_spec_int ("left-margin",
-                                                     P_("Left margin"),
-                                                     P_("Width of the left margin in pixels"),
+                                   g_param_spec_int ("left-margin", NULL, NULL,
                                                      0,
                                                      G_MAXINT,
                                                      0,
@@ -519,9 +477,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_RIGHT_MARGIN,
-                                   g_param_spec_int ("right-margin",
-                                                     P_("Right margin"),
-                                                     P_("Width of the right margin in pixels"),
+                                   g_param_spec_int ("right-margin", NULL, NULL,
                                                      0,
                                                      G_MAXINT,
                                                      0,
@@ -534,9 +490,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_INDENT,
-                                   g_param_spec_int ("indent",
-                                                     P_("Indent"),
-                                                     P_("Amount to indent the paragraph, in pixels"),
+                                   g_param_spec_int ("indent", NULL, NULL,
                                                      G_MININT,
                                                      G_MAXINT,
                                                      0,
@@ -551,9 +505,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_RISE,
-                                   g_param_spec_int ("rise",
-                                                     P_("Rise"),
-                                                     P_("Offset of text above the baseline (below the baseline if rise is negative) in Pango units"),
+                                   g_param_spec_int ("rise", NULL, NULL,
                                                     G_MININT,
                                                      G_MAXINT,
                                                      0,
@@ -566,9 +518,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_PIXELS_ABOVE_LINES,
-                                   g_param_spec_int ("pixels-above-lines",
-                                                     P_("Pixels above lines"),
-                                                     P_("Pixels of blank space above paragraphs"),
+                                   g_param_spec_int ("pixels-above-lines", NULL, NULL,
                                                      0,
                                                      G_MAXINT,
                                                      0,
@@ -581,9 +531,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_PIXELS_BELOW_LINES,
-                                   g_param_spec_int ("pixels-below-lines",
-                                                     P_("Pixels below lines"),
-                                                     P_("Pixels of blank space below paragraphs"),
+                                   g_param_spec_int ("pixels-below-lines", NULL, NULL,
                                                      0,
                                                      G_MAXINT,
                                                      0,
@@ -596,9 +544,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_PIXELS_INSIDE_WRAP,
-                                   g_param_spec_int ("pixels-inside-wrap",
-                                                     P_("Pixels inside wrap"),
-                                                     P_("Pixels of blank space between wrapped lines in a paragraph"),
+                                   g_param_spec_int ("pixels-inside-wrap", NULL, NULL,
                                                      0,
                                                      G_MAXINT,
                                                      0,
@@ -613,9 +559,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_LINE_HEIGHT,
-                                   g_param_spec_float ("line-height",
-                                                       P_("Line height factor"),
-                                                       P_("The factor to apply to line height"),
+                                   g_param_spec_float ("line-height", NULL, NULL,
                                                        0.0, 10.0, 0.0,
                                                        GTK_PARAM_READWRITE));
 
@@ -626,9 +570,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_STRIKETHROUGH,
-                                   g_param_spec_boolean ("strikethrough",
-                                                         P_("Strikethrough"),
-                                                         P_("Whether to strike through the text"),
+                                   g_param_spec_boolean ("strikethrough", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
@@ -639,9 +581,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_UNDERLINE,
-                                   g_param_spec_enum ("underline",
-                                                      P_("Underline"),
-                                                      P_("Style of underline for this text"),
+                                   g_param_spec_enum ("underline", NULL, NULL,
                                                       PANGO_TYPE_UNDERLINE,
                                                       PANGO_UNDERLINE_NONE,
                                                       GTK_PARAM_READWRITE));
@@ -659,9 +599,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_UNDERLINE_RGBA,
-                                   g_param_spec_boxed ("underline-rgba",
-                                                       P_("Underline RGBA"),
-                                                       P_("Color of underline for this text"),
+                                   g_param_spec_boxed ("underline-rgba", NULL, NULL,
                                                        GDK_TYPE_RGBA,
                                                        GTK_PARAM_READWRITE));
 
@@ -672,9 +610,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_OVERLINE,
-                                   g_param_spec_enum ("overline",
-                                                      P_("Overline"),
-                                                      P_("Style of overline for this text"),
+                                   g_param_spec_enum ("overline", NULL, NULL,
                                                       PANGO_TYPE_OVERLINE,
                                                       PANGO_OVERLINE_NONE,
                                                       GTK_PARAM_READWRITE));
@@ -688,9 +624,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_OVERLINE_RGBA,
-                                   g_param_spec_boxed ("overline-rgba",
-                                                       P_("Overline RGBA"),
-                                                       P_("Color of overline for this text"),
+                                   g_param_spec_boxed ("overline-rgba", NULL, NULL,
                                                        GDK_TYPE_RGBA,
                                                        GTK_PARAM_READWRITE));
 
@@ -703,9 +637,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_STRIKETHROUGH_RGBA,
-                                   g_param_spec_boxed ("strikethrough-rgba",
-                                                       P_("Strikethrough RGBA"),
-                                                       P_("Color of strikethrough for this text"),
+                                   g_param_spec_boxed ("strikethrough-rgba", NULL, NULL,
                                                        GDK_TYPE_RGBA,
                                                        GTK_PARAM_READWRITE));
 
@@ -717,9 +649,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_WRAP_MODE,
-                                   g_param_spec_enum ("wrap-mode",
-                                                     P_("Wrap mode"),
-                                                     P_("Whether to wrap lines never, at word boundaries, or at character boundaries"),
+                                   g_param_spec_enum ("wrap-mode", NULL, NULL,
                                                       GTK_TYPE_WRAP_MODE,
                                                       GTK_WRAP_NONE,
                                                       GTK_PARAM_READWRITE));
@@ -731,9 +661,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_TABS,
-                                   g_param_spec_boxed ("tabs",
-                                                       P_("Tabs"),
-                                                       P_("Custom tabs for this text"),
+                                   g_param_spec_boxed ("tabs", NULL, NULL,
                                                        PANGO_TYPE_TAB_ARRAY,
                                                        GTK_PARAM_READWRITE));
   
@@ -748,9 +676,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_INVISIBLE,
-                                   g_param_spec_boolean ("invisible",
-                                                         P_("Invisible"),
-                                                         P_("Whether this text is hidden."),
+                                   g_param_spec_boolean ("invisible", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
@@ -761,9 +687,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_PARAGRAPH_BACKGROUND,
-                                   g_param_spec_string ("paragraph-background",
-                                                        P_("Paragraph background color name"),
-                                                        P_("Paragraph background color as a string"),
+                                   g_param_spec_string ("paragraph-background", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_WRITABLE));
 
@@ -774,9 +698,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_PARAGRAPH_BACKGROUND_RGBA,
-                                   g_param_spec_boxed ("paragraph-background-rgba",
-                                                       P_("Paragraph background RGBA"),
-                                                       P_("Paragraph background RGBA as a GdkRGBA"),
+                                   g_param_spec_boxed ("paragraph-background-rgba", NULL, NULL,
                                                        GDK_TYPE_RGBA,
                                                        GTK_PARAM_READWRITE));
 
@@ -790,9 +712,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_FALLBACK,
-                                   g_param_spec_boolean ("fallback",
-                                                         P_("Fallback"),
-                                                         P_("Whether font fallback is enabled."),
+                                   g_param_spec_boolean ("fallback", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE));
 
@@ -803,9 +723,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_LETTER_SPACING,
-                                   g_param_spec_int ("letter-spacing",
-                                                     P_("Letter Spacing"),
-                                                     P_("Extra spacing between graphemes"),
+                                   g_param_spec_int ("letter-spacing", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      GTK_PARAM_READWRITE));
 
@@ -816,9 +734,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_FONT_FEATURES,
-                                   g_param_spec_string ("font-features",
-                                                        P_("Font Features"),
-                                                        P_("OpenType Font Features to use"),
+                                   g_param_spec_string ("font-features", NULL, NULL,
                                                         NULL,
                                                         GTK_PARAM_READWRITE));
 
@@ -829,9 +745,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_ALLOW_BREAKS,
-                                   g_param_spec_boolean ("allow-breaks",
-                                                         P_("Allow Breaks"),
-                                                         P_("Whether breaks are allowed."),
+                                   g_param_spec_boolean ("allow-breaks", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE));
 
@@ -842,9 +756,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_SHOW_SPACES,
-                                   g_param_spec_flags ("show-spaces",
-                                                         P_("Show spaces"),
-                                                         P_("How to render invisible characters."),
+                                   g_param_spec_flags ("show-spaces", NULL, NULL,
                                                          PANGO_TYPE_SHOW_FLAGS,
                                                          PANGO_SHOW_NONE,
                                                          GTK_PARAM_READWRITE));
@@ -856,9 +768,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_INSERT_HYPHENS,
-                                   g_param_spec_boolean ("insert-hyphens",
-                                                         P_("Insert hyphens"),
-                                                         P_("Whether to insert hyphens at breaks."),
+                                   g_param_spec_boolean ("insert-hyphens", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE));
 
@@ -871,9 +781,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_TEXT_TRANSFORM,
-                                   g_param_spec_enum ("text-transform",
-                                                         P_("Text Transform"),
-                                                         P_("Whether to transform text for display."),
+                                   g_param_spec_enum ("text-transform", NULL, NULL,
                                                          PANGO_TYPE_TEXT_TRANSFORM,
                                                          PANGO_TEXT_TRANSFORM_NONE,
                                                          GTK_PARAM_READWRITE));
@@ -889,9 +797,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_WORD,
-                                   g_param_spec_boolean ("word",
-                                                         P_("Word"),
-                                                         P_("Whether this is a word."),
+                                   g_param_spec_boolean ("word", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
@@ -906,9 +812,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_SENTENCE,
-                                   g_param_spec_boolean ("sentence",
-                                                         P_("Sentence"),
-                                                         P_("Whether this is a sentence."),
+                                   g_param_spec_boolean ("sentence", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
@@ -923,9 +827,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_ACCUMULATIVE_MARGIN,
-                                   g_param_spec_boolean ("accumulative-margin",
-                                                         P_("Margin Accumulates"),
-                                                         P_("Whether left and right margins accumulate."),
+                                   g_param_spec_boolean ("accumulative-margin", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE));
 
@@ -933,175 +835,95 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
 
 #define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (object_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, GTK_PARAM_READWRITE))
 
-  ADD_SET_PROP ("background-set", PROP_BACKGROUND_SET,
-                P_("Background set"),
-                P_("Whether this tag affects the background color"));
+  ADD_SET_PROP ("background-set", PROP_BACKGROUND_SET, NULL, NULL);
   
-  ADD_SET_PROP ("background-full-height-set", PROP_BACKGROUND_FULL_HEIGHT_SET,
-                P_("Background full height set"),
-                P_("Whether this tag affects background height"));
+  ADD_SET_PROP ("background-full-height-set", PROP_BACKGROUND_FULL_HEIGHT_SET, NULL, NULL);
 
-  ADD_SET_PROP ("foreground-set", PROP_FOREGROUND_SET,
-                P_("Foreground set"),
-                P_("Whether this tag affects the foreground color"));
+  ADD_SET_PROP ("foreground-set", PROP_FOREGROUND_SET, NULL, NULL);
 
-  ADD_SET_PROP ("editable-set", PROP_EDITABLE_SET,
-                P_("Editability set"),
-                P_("Whether this tag affects text editability"));
+  ADD_SET_PROP ("editable-set", PROP_EDITABLE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("family-set", PROP_FAMILY_SET,
-                P_("Font family set"),
-                P_("Whether this tag affects the font family"));  
+  ADD_SET_PROP ("family-set", PROP_FAMILY_SET, NULL, NULL);  
 
-  ADD_SET_PROP ("style-set", PROP_STYLE_SET,
-                P_("Font style set"),
-                P_("Whether this tag affects the font style"));
+  ADD_SET_PROP ("style-set", PROP_STYLE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("variant-set", PROP_VARIANT_SET,
-                P_("Font variant set"),
-                P_("Whether this tag affects the font variant"));
+  ADD_SET_PROP ("variant-set", PROP_VARIANT_SET, NULL, NULL);
 
-  ADD_SET_PROP ("weight-set", PROP_WEIGHT_SET,
-                P_("Font weight set"),
-                P_("Whether this tag affects the font weight"));
+  ADD_SET_PROP ("weight-set", PROP_WEIGHT_SET, NULL, NULL);
 
-  ADD_SET_PROP ("stretch-set", PROP_STRETCH_SET,
-                P_("Font stretch set"),
-                P_("Whether this tag affects the font stretch"));
+  ADD_SET_PROP ("stretch-set", PROP_STRETCH_SET, NULL, NULL);
 
-  ADD_SET_PROP ("size-set", PROP_SIZE_SET,
-                P_("Font size set"),
-                P_("Whether this tag affects the font size"));
+  ADD_SET_PROP ("size-set", PROP_SIZE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("scale-set", PROP_SCALE_SET,
-                P_("Font scale set"),
-                P_("Whether this tag scales the font size by a factor"));
+  ADD_SET_PROP ("scale-set", PROP_SCALE_SET, NULL, NULL);
   
-  ADD_SET_PROP ("justification-set", PROP_JUSTIFICATION_SET,
-                P_("Justification set"),
-                P_("Whether this tag affects paragraph justification"));
+  ADD_SET_PROP ("justification-set", PROP_JUSTIFICATION_SET, NULL, NULL);
   
-  ADD_SET_PROP ("language-set", PROP_LANGUAGE_SET,
-                P_("Language set"),
-                P_("Whether this tag affects the language the text is rendered as"));
+  ADD_SET_PROP ("language-set", PROP_LANGUAGE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("left-margin-set", PROP_LEFT_MARGIN_SET,
-                P_("Left margin set"),
-                P_("Whether this tag affects the left margin"));
+  ADD_SET_PROP ("left-margin-set", PROP_LEFT_MARGIN_SET, NULL, NULL);
 
-  ADD_SET_PROP ("indent-set", PROP_INDENT_SET,
-                P_("Indent set"),
-                P_("Whether this tag affects indentation"));
+  ADD_SET_PROP ("indent-set", PROP_INDENT_SET, NULL, NULL);
 
-  ADD_SET_PROP ("rise-set", PROP_RISE_SET,
-                P_("Rise set"),
-                P_("Whether this tag affects the rise"));
+  ADD_SET_PROP ("rise-set", PROP_RISE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("pixels-above-lines-set", PROP_PIXELS_ABOVE_LINES_SET,
-                P_("Pixels above lines set"),
-                P_("Whether this tag affects the number of pixels above lines"));
+  ADD_SET_PROP ("pixels-above-lines-set", PROP_PIXELS_ABOVE_LINES_SET, NULL, NULL);
 
-  ADD_SET_PROP ("pixels-below-lines-set", PROP_PIXELS_BELOW_LINES_SET,
-                P_("Pixels below lines set"),
-                P_("Whether this tag affects the number of pixels above lines"));
+  ADD_SET_PROP ("pixels-below-lines-set", PROP_PIXELS_BELOW_LINES_SET, NULL, NULL);
 
-  ADD_SET_PROP ("pixels-inside-wrap-set", PROP_PIXELS_INSIDE_WRAP_SET,
-                P_("Pixels inside wrap set"),
-                P_("Whether this tag affects the number of pixels between wrapped lines"));
+  ADD_SET_PROP ("pixels-inside-wrap-set", PROP_PIXELS_INSIDE_WRAP_SET, NULL, NULL);
 
-  ADD_SET_PROP ("line-height-set", PROP_LINE_HEIGHT_SET,
-                P_("Line height set"),
-                P_("Whether this tag affects the height of lines"));
+  ADD_SET_PROP ("line-height-set", PROP_LINE_HEIGHT_SET, NULL, NULL);
 
-  ADD_SET_PROP ("strikethrough-set", PROP_STRIKETHROUGH_SET,
-                P_("Strikethrough set"),
-                P_("Whether this tag affects strikethrough"));
+  ADD_SET_PROP ("strikethrough-set", PROP_STRIKETHROUGH_SET, NULL, NULL);
   
-  ADD_SET_PROP ("right-margin-set", PROP_RIGHT_MARGIN_SET,
-                P_("Right margin set"),
-                P_("Whether this tag affects the right margin"));
+  ADD_SET_PROP ("right-margin-set", PROP_RIGHT_MARGIN_SET, NULL, NULL);
 
-  ADD_SET_PROP ("underline-set", PROP_UNDERLINE_SET,
-                P_("Underline set"),
-                P_("Whether this tag affects underlining"));
+  ADD_SET_PROP ("underline-set", PROP_UNDERLINE_SET, NULL, NULL);
 
   /**
    * GtkTextTag:underline-rgba-set:
    *
    * If the `underline-rgba` property has been set.
    */
-  ADD_SET_PROP ("underline-rgba-set", PROP_UNDERLINE_RGBA_SET,
-                P_("Underline RGBA set"),
-                P_("Whether this tag affects underlining color"));
+  ADD_SET_PROP ("underline-rgba-set", PROP_UNDERLINE_RGBA_SET, NULL, NULL);
 
-  ADD_SET_PROP ("overline-set", PROP_OVERLINE_SET,
-                P_("Overline set"),
-                P_("Whether this tag affects overlining"));
+  ADD_SET_PROP ("overline-set", PROP_OVERLINE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("overline-rgba-set", PROP_OVERLINE_RGBA_SET,
-                P_("Overline RGBA set"),
-                P_("Whether this tag affects overlining color"));
+  ADD_SET_PROP ("overline-rgba-set", PROP_OVERLINE_RGBA_SET, NULL, NULL);
 
   /**
    * GtkTextTag:strikethrough-rgba-set:
    *
    * If the `strikethrough-rgba` property has been set.
    */
-  ADD_SET_PROP ("strikethrough-rgba-set", PROP_STRIKETHROUGH_RGBA_SET,
-                P_("Strikethrough RGBA set"),
-                P_("Whether this tag affects strikethrough color"));
+  ADD_SET_PROP ("strikethrough-rgba-set", PROP_STRIKETHROUGH_RGBA_SET, NULL, NULL);
 
-  ADD_SET_PROP ("wrap-mode-set", PROP_WRAP_MODE_SET,
-                P_("Wrap mode set"),
-                P_("Whether this tag affects line wrap mode"));
+  ADD_SET_PROP ("wrap-mode-set", PROP_WRAP_MODE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("tabs-set", PROP_TABS_SET,
-                P_("Tabs set"),
-                P_("Whether this tag affects tabs"));
+  ADD_SET_PROP ("tabs-set", PROP_TABS_SET, NULL, NULL);
 
-  ADD_SET_PROP ("invisible-set", PROP_INVISIBLE_SET,
-                P_("Invisible set"),
-                P_("Whether this tag affects text visibility"));
+  ADD_SET_PROP ("invisible-set", PROP_INVISIBLE_SET, NULL, NULL);
 
-  ADD_SET_PROP ("paragraph-background-set", PROP_PARAGRAPH_BACKGROUND_SET,
-                P_("Paragraph background set"),
-                P_("Whether this tag affects the paragraph background color"));
+  ADD_SET_PROP ("paragraph-background-set", PROP_PARAGRAPH_BACKGROUND_SET, NULL, NULL);
 
-  ADD_SET_PROP ("fallback-set", PROP_FALLBACK_SET,
-                P_("Fallback set"),
-                P_("Whether this tag affects font fallback"));
+  ADD_SET_PROP ("fallback-set", PROP_FALLBACK_SET, NULL, NULL);
 
-  ADD_SET_PROP ("letter-spacing-set", PROP_LETTER_SPACING_SET,
-                P_("Letter spacing set"),
-                P_("Whether this tag affects letter spacing"));
+  ADD_SET_PROP ("letter-spacing-set", PROP_LETTER_SPACING_SET, NULL, NULL);
 
-  ADD_SET_PROP ("font-features-set", PROP_FONT_FEATURES_SET,
-                P_("Font features set"),
-                P_("Whether this tag affects font features"));
+  ADD_SET_PROP ("font-features-set", PROP_FONT_FEATURES_SET, NULL, NULL);
 
-  ADD_SET_PROP ("allow-breaks-set", PROP_ALLOW_BREAKS_SET,
-                P_("Allow breaks set"),
-                P_("Whether this tag affects line breaks"));
+  ADD_SET_PROP ("allow-breaks-set", PROP_ALLOW_BREAKS_SET, NULL, NULL);
 
-  ADD_SET_PROP ("show-spaces-set", PROP_SHOW_SPACES_SET,
-                P_("Show spaces set"),
-                P_("Whether this tag affects rendering of invisible characters"));
+  ADD_SET_PROP ("show-spaces-set", PROP_SHOW_SPACES_SET, NULL, NULL);
 
-  ADD_SET_PROP ("insert-hyphens-set", PROP_INSERT_HYPHENS_SET,
-                P_("Insert hyphens set"),
-                P_("Whether this tag affects insertion of hyphens"));
+  ADD_SET_PROP ("insert-hyphens-set", PROP_INSERT_HYPHENS_SET, NULL, NULL);
 
-  ADD_SET_PROP ("text-transform-set", PROP_TEXT_TRANSFORM_SET,
-                P_("Text transform set"),
-                P_("Whether this tag affects text transformation"));
+  ADD_SET_PROP ("text-transform-set", PROP_TEXT_TRANSFORM_SET, NULL, NULL);
 
-  ADD_SET_PROP ("word-set", PROP_WORD_SET,
-                P_("Word set"),
-                P_("Whether this tag represents a single word"));
+  ADD_SET_PROP ("word-set", PROP_WORD_SET, NULL, NULL);
 
-  ADD_SET_PROP ("sentence-set", PROP_WORD_SET,
-                P_("Sentence set"),
-                P_("Whether this tag represents a single sentence"));
+  ADD_SET_PROP ("sentence-set", PROP_WORD_SET, NULL, NULL);
 }
 
 static void
index 5f8bb14ffb2c871b0b02c55ea40b9988f94f920d..6df6b6e50f510b64584a041e482ce0801377cbba 100644 (file)
@@ -857,9 +857,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_PIXELS_ABOVE_LINES,
-                                   g_param_spec_int ("pixels-above-lines",
-                                                     P_("Pixels Above Lines"),
-                                                     P_("Pixels of blank space above paragraphs"),
+                                   g_param_spec_int ("pixels-above-lines", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -870,9 +868,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_PIXELS_BELOW_LINES,
-                                   g_param_spec_int ("pixels-below-lines",
-                                                     P_("Pixels Below Lines"),
-                                                     P_("Pixels of blank space below paragraphs"),
+                                   g_param_spec_int ("pixels-below-lines", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -883,9 +879,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_PIXELS_INSIDE_WRAP,
-                                   g_param_spec_int ("pixels-inside-wrap",
-                                                     P_("Pixels Inside Wrap"),
-                                                     P_("Pixels of blank space between wrapped lines in a paragraph"),
+                                   g_param_spec_int ("pixels-inside-wrap", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -896,9 +890,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_EDITABLE,
-                                   g_param_spec_boolean ("editable",
-                                                         P_("Editable"),
-                                                         P_("Whether the text can be modified by the user"),
+                                   g_param_spec_boolean ("editable", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -909,9 +901,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_WRAP_MODE,
-                                   g_param_spec_enum ("wrap-mode",
-                                                      P_("Wrap Mode"),
-                                                      P_("Whether to wrap lines never, at word boundaries, or at character boundaries"),
+                                   g_param_spec_enum ("wrap-mode", NULL, NULL,
                                                       GTK_TYPE_WRAP_MODE,
                                                       GTK_WRAP_NONE,
                                                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
@@ -923,9 +913,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_JUSTIFICATION,
-                                   g_param_spec_enum ("justification",
-                                                      P_("Justification"),
-                                                      P_("Left, right, or center justification"),
+                                   g_param_spec_enum ("justification", NULL, NULL,
                                                       GTK_TYPE_JUSTIFICATION,
                                                       GTK_JUSTIFY_LEFT,
                                                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
@@ -943,9 +931,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_LEFT_MARGIN,
-                                   g_param_spec_int ("left-margin",
-                                                     P_("Left Margin"),
-                                                     P_("Width of the left margin in pixels"),
+                                   g_param_spec_int ("left-margin", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -962,9 +948,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_RIGHT_MARGIN,
-                                   g_param_spec_int ("right-margin",
-                                                     P_("Right Margin"),
-                                                     P_("Width of the right margin in pixels"),
+                                   g_param_spec_int ("right-margin", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -981,9 +965,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_TOP_MARGIN,
-                                   g_param_spec_int ("top-margin",
-                                                     P_("Top Margin"),
-                                                     P_("Height of the top margin in pixels"),
+                                   g_param_spec_int ("top-margin", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1000,9 +982,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_BOTTOM_MARGIN,
-                                   g_param_spec_int ("bottom-margin",
-                                                     P_("Bottom Margin"),
-                                                     P_("Height of the bottom margin in pixels"),
+                                   g_param_spec_int ("bottom-margin", NULL, NULL,
                                                      0, G_MAXINT, 0,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1013,9 +993,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_INDENT,
-                                   g_param_spec_int ("indent",
-                                                     P_("Indent"),
-                                                     P_("Amount to indent the paragraph, in pixels"),
+                                   g_param_spec_int ("indent", NULL, NULL,
                                                      G_MININT, G_MAXINT, 0,
                                                      GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1026,9 +1004,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_TABS,
-                                   g_param_spec_boxed ("tabs",
-                                                       P_("Tabs"),
-                                                       P_("Custom tabs for this text"),
+                                   g_param_spec_boxed ("tabs", NULL, NULL,
                                                        PANGO_TYPE_TAB_ARRAY,
                                                       GTK_PARAM_READWRITE));
 
@@ -1039,9 +1015,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_CURSOR_VISIBLE,
-                                   g_param_spec_boolean ("cursor-visible",
-                                                         P_("Cursor Visible"),
-                                                         P_("If the insertion cursor is shown"),
+                                   g_param_spec_boolean ("cursor-visible", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1052,9 +1026,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_BUFFER,
-                                   g_param_spec_object ("buffer",
-                                                       P_("Buffer"),
-                                                       P_("The buffer which is displayed"),
+                                   g_param_spec_object ("buffer", NULL, NULL,
                                                        GTK_TYPE_TEXT_BUFFER,
                                                        GTK_PARAM_READWRITE));
 
@@ -1065,9 +1037,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_OVERWRITE,
-                                   g_param_spec_boolean ("overwrite",
-                                                         P_("Overwrite mode"),
-                                                         P_("Whether entered text overwrites existing contents"),
+                                   g_param_spec_boolean ("overwrite", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1078,9 +1048,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_ACCEPTS_TAB,
-                                   g_param_spec_boolean ("accepts-tab",
-                                                         P_("Accepts tab"),
-                                                         P_("Whether Tab will result in a tab character being entered"),
+                                   g_param_spec_boolean ("accepts-tab", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1096,9 +1064,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
     */
    g_object_class_install_property (gobject_class,
                                     PROP_IM_MODULE,
-                                    g_param_spec_string ("im-module",
-                                                         P_("IM module"),
-                                                         P_("Which IM module should be used"),
+                                    g_param_spec_string ("im-module", NULL, NULL,
                                                          NULL,
                                                          GTK_PARAM_READWRITE));
 
@@ -1112,9 +1078,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_INPUT_PURPOSE,
-                                   g_param_spec_enum ("input-purpose",
-                                                      P_("Purpose"),
-                                                      P_("Purpose of the text field"),
+                                   g_param_spec_enum ("input-purpose", NULL, NULL,
                                                       GTK_TYPE_INPUT_PURPOSE,
                                                       GTK_INPUT_PURPOSE_FREE_FORM,
                                                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
@@ -1128,9 +1092,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_INPUT_HINTS,
-                                   g_param_spec_flags ("input-hints",
-                                                       P_("hints"),
-                                                       P_("Hints for the text field behaviour"),
+                                   g_param_spec_flags ("input-hints", NULL, NULL,
                                                        GTK_TYPE_INPUT_HINTS,
                                                        GTK_INPUT_HINT_NONE,
                                                        GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
@@ -1146,9 +1108,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_MONOSPACE,
-                                   g_param_spec_boolean ("monospace",
-                                                         P_("Monospace"),
-                                                         P_("Whether to use a monospace font"),
+                                   g_param_spec_boolean ("monospace", NULL, NULL,
                                                          FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -1159,9 +1119,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_EXTRA_MENU,
-                                   g_param_spec_object ("extra-menu",
-                                                        P_("Extra menu"),
-                                                        P_("Menu model to append to the context menu"),
+                                   g_param_spec_object ("extra-menu", NULL, NULL,
                                                         G_TYPE_MENU_MODEL,
                                                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
index 80170f99a231c069143078b21ce032f5e953f93b..d7eb7390dad56323e9e4bf7d79b126c0c0225ba1 100644 (file)
@@ -382,9 +382,7 @@ gtk_text_view_child_class_init (GtkTextViewChildClass *klass)
    * `GtkTextView` that the child is attached.
    */
   properties[PROP_WINDOW_TYPE] =
-    g_param_spec_enum ("window-type",
-                       P_("Window Type"),
-                       P_("The GtkTextWindowType"),
+    g_param_spec_enum ("window-type", NULL, NULL,
                        GTK_TYPE_TEXT_WINDOW_TYPE,
                        GTK_TEXT_WINDOW_TEXT,
                        GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY|G_PARAM_EXPLICIT_NOTIFY);
index ce09a45edbe9b176231dfc8e17379f5fea03528c..19c23040f78e6e3ee9d7314e9833a627008cadc8 100644 (file)
@@ -280,9 +280,7 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
    * If the toggle button should be pressed in.
    */
   toggle_button_props[PROP_ACTIVE] =
-      g_param_spec_boolean ("active",
-                            P_("Active"),
-                            P_("If the toggle button should be pressed in"),
+      g_param_spec_boolean ("active", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -292,9 +290,7 @@ gtk_toggle_button_class_init (GtkToggleButtonClass *class)
    * The toggle button whose group this widget belongs to.
    */
   toggle_button_props[PROP_GROUP] =
-      g_param_spec_object ("group",
-                           P_("Group"),
-                           P_("The toggle button whose group this widget belongs to."),
+      g_param_spec_object ("group", NULL, NULL,
                            GTK_TYPE_TOGGLE_BUTTON,
                            GTK_PARAM_WRITABLE);
 
index 2b4e8b415dc820aaae406a6f51a9af5d0c506b53..b07a63e67f905a1ab89dcd1e20e5a6c18d5cefd4 100644 (file)
@@ -528,9 +528,7 @@ gtk_tree_expander_class_init (GtkTreeExpanderClass *klass)
    * The child widget with the actual contents.
    */
   properties[PROP_CHILD] =
-    g_param_spec_object ("child",
-                         P_("Child"),
-                         P_("The child widget with the actual contents"),
+    g_param_spec_object ("child", NULL, NULL,
                          GTK_TYPE_WIDGET,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -540,9 +538,7 @@ gtk_tree_expander_class_init (GtkTreeExpanderClass *klass)
    * The item held by this expander's row.
    */
   properties[PROP_ITEM] =
-      g_param_spec_object ("item",
-                           P_("Item"),
-                           P_("The item held by this expander's row"),
+      g_param_spec_object ("item", NULL, NULL,
                            G_TYPE_OBJECT,
                            G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -552,9 +548,7 @@ gtk_tree_expander_class_init (GtkTreeExpanderClass *klass)
    * The list row to track for expander state.
    */
   properties[PROP_LIST_ROW] =
-    g_param_spec_object ("list-row",
-                         P_("List row"),
-                         P_("The list row to track for expander state"),
+    g_param_spec_object ("list-row", NULL, NULL,
                          GTK_TYPE_TREE_LIST_ROW,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -566,9 +560,7 @@ gtk_tree_expander_class_init (GtkTreeExpanderClass *klass)
    * Since: 4.6
    */
   properties[PROP_INDENT_FOR_ICON] =
-      g_param_spec_boolean ("indent-for-icon",
-                            P_ ("Indent without expander"),
-                            P_ ("If the TreeExpander should indent the child if no expander-icon is shown"),
+      g_param_spec_boolean ("indent-for-icon", NULL, NULL,
                             TRUE,
                             G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 35f1fe3ab0a7923a7afdd603bbcfa7af9c05eca0..4da56b45f427582d8a7d53b4233f1880fb197b45 100644 (file)
@@ -686,9 +686,7 @@ gtk_tree_list_model_class_init (GtkTreeListModelClass *class)
    * If all rows should be expanded by default.
    */
   properties[PROP_AUTOEXPAND] =
-      g_param_spec_boolean ("autoexpand",
-                            P_("autoexpand"),
-                            P_("If all rows should be expanded by default"),
+      g_param_spec_boolean ("autoexpand", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -698,9 +696,7 @@ gtk_tree_list_model_class_init (GtkTreeListModelClass *class)
    * The root model displayed.
    */
   properties[PROP_MODEL] =
-      g_param_spec_object ("model",
-                           P_("Model"),
-                           P_("The root model displayed"),
+      g_param_spec_object ("model", NULL, NULL,
                            G_TYPE_LIST_MODEL,
                            GTK_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -714,9 +710,7 @@ gtk_tree_list_model_class_init (GtkTreeListModelClass *class)
    * models are pass through unmodified.
    */
   properties[PROP_PASSTHROUGH] =
-      g_param_spec_boolean ("passthrough",
-                            P_("passthrough"),
-                            P_("If child model values are passed through"),
+      g_param_spec_boolean ("passthrough", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1055,9 +1049,7 @@ gtk_tree_list_row_class_init (GtkTreeListRowClass *class)
    * The model holding the row's children.
    */
   row_properties[ROW_PROP_CHILDREN] =
-      g_param_spec_object ("children",
-                           P_("Children"),
-                           P_("Model holding the row’s children"),
+      g_param_spec_object ("children", NULL, NULL,
                            G_TYPE_LIST_MODEL,
                            GTK_PARAM_READABLE);
 
@@ -1067,9 +1059,7 @@ gtk_tree_list_row_class_init (GtkTreeListRowClass *class)
    * The depth in the tree of this row.
    */
   row_properties[ROW_PROP_DEPTH] =
-      g_param_spec_uint ("depth",
-                         P_("Depth"),
-                         P_("Depth in the tree"),
+      g_param_spec_uint ("depth", NULL, NULL,
                          0, G_MAXUINT, 0,
                          GTK_PARAM_READABLE);
 
@@ -1079,9 +1069,7 @@ gtk_tree_list_row_class_init (GtkTreeListRowClass *class)
    * If this row can ever be expanded.
    */
   row_properties[ROW_PROP_EXPANDABLE] =
-      g_param_spec_boolean ("expandable",
-                            P_("Expandable"),
-                            P_("If this row can ever be expanded"),
+      g_param_spec_boolean ("expandable", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READABLE);
 
@@ -1091,9 +1079,7 @@ gtk_tree_list_row_class_init (GtkTreeListRowClass *class)
    * If this row is currently expanded.
    */
   row_properties[ROW_PROP_EXPANDED] =
-      g_param_spec_boolean ("expanded",
-                            P_("Expanded"),
-                            P_("If this row is currently expanded"),
+      g_param_spec_boolean ("expanded", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1103,9 +1089,7 @@ gtk_tree_list_row_class_init (GtkTreeListRowClass *class)
    * The item held in this row.
    */
   row_properties[ROW_PROP_ITEM] =
-      g_param_spec_object ("item",
-                           P_("Item"),
-                           P_("The item held in this row"),
+      g_param_spec_object ("item", NULL, NULL,
                            G_TYPE_OBJECT,
                            GTK_PARAM_READABLE);
 
index ee0a7d1e4747a0542fb9b626d264edd0f48c02ac..f9f626b1c5b8c5f4b1b408496098866c32ae08c5 100644 (file)
@@ -540,9 +540,7 @@ gtk_tree_list_row_sorter_class_init (GtkTreeListRowSorterClass *class)
    * The underlying sorter
    */
   properties[PROP_SORTER] =
-      g_param_spec_object ("sorter",
-                          P_("Sorter"),
-                          P_("The underlying sorter"),
+      g_param_spec_object ("sorter", NULL, NULL,
                           GTK_TYPE_SORTER,
                           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
index 68310fc2d52059be5c53892682ea0e4ce6ab832f..6610fa7987c55fc6c352d442b74a022cbab6c3a8 100644 (file)
@@ -527,17 +527,13 @@ gtk_tree_model_filter_class_init (GtkTreeModelFilterClass *filter_class)
 
   g_object_class_install_property (object_class,
                                    PROP_CHILD_MODEL,
-                                   g_param_spec_object ("child-model",
-                                                        P_("The child model"),
-                                                        P_("The model for the filtermodel to filter"),
+                                   g_param_spec_object ("child-model", NULL, NULL,
                                                         GTK_TYPE_TREE_MODEL,
                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
   g_object_class_install_property (object_class,
                                    PROP_VIRTUAL_ROOT,
-                                   g_param_spec_boxed ("virtual-root",
-                                                       P_("The virtual root"),
-                                                       P_("The virtual root (relative to the child model) for this filtermodel"),
+                                   g_param_spec_boxed ("virtual-root", NULL, NULL,
                                                        GTK_TYPE_TREE_PATH,
                                                        GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 }
index 1ef440da0608a677400514071046489346353df2..8674b356ee4e2030209c77dbf0aa11094db4eefa 100644 (file)
@@ -479,9 +479,7 @@ gtk_tree_model_sort_class_init (GtkTreeModelSortClass *class)
   /* Properties */
   g_object_class_install_property (object_class,
                                    PROP_MODEL,
-                                   g_param_spec_object ("model",
-                                                       P_("TreeModelSort Model"),
-                                                       P_("The model for the TreeModelSort to sort"),
+                                   g_param_spec_object ("model", NULL, NULL,
                                                        GTK_TYPE_TREE_MODEL,
                                                        GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 }
index f2b8285e1cdb293786267fc774db0ca613d4f7a6..8ff89b00a41a8b81517a39b80cd9078ca8a170dc 100644 (file)
@@ -202,17 +202,13 @@ gtk_tree_popover_class_init (GtkTreePopoverClass *class)
 
   g_object_class_install_property (object_class,
                                    PROP_MODEL,
-                                   g_param_spec_object ("model",
-                                                        P_("model"),
-                                                        P_("The model for the popover"),
+                                   g_param_spec_object ("model", NULL, NULL,
                                                         GTK_TYPE_TREE_MODEL,
                                                         GTK_PARAM_READWRITE));
 
   g_object_class_install_property (object_class,
                                    PROP_CELL_AREA,
-                                   g_param_spec_object ("cell-area",
-                                                        P_("Cell Area"),
-                                                        P_("The GtkCellArea used to layout cells"),
+                                   g_param_spec_object ("cell-area", NULL, NULL,
                                                         GTK_TYPE_CELL_AREA,
                                                         GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
index f3ab4d449b74cb6ac8d783cdff5bf5fad069ff38..a3c6ecd946ab457cf58c71ed1be6f012d3939f53 100644 (file)
@@ -130,9 +130,7 @@ gtk_tree_selection_class_init (GtkTreeSelectionClass *class)
    * Selection mode.
    * See gtk_tree_selection_set_mode() for more information on this property.
    */
-  properties[PROP_MODE] = g_param_spec_enum ("mode",
-                                             P_("Mode"),
-                                             P_("Selection mode"),
+  properties[PROP_MODE] = g_param_spec_enum ("mode", NULL, NULL,
                                              GTK_TYPE_SELECTION_MODE,
                                              GTK_SELECTION_SINGLE,
                                              GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
index 55c8b28f15c781ca48ac26f7f021c5dc8b965207..60e54f6da7647a21e37d4d900ad5b42c1d25e2a4 100644 (file)
@@ -992,51 +992,37 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
   g_object_class_override_property (o_class, PROP_VSCROLL_POLICY, "vscroll-policy");
 
   tree_view_props[PROP_MODEL] =
-      g_param_spec_object ("model",
-                           P_("TreeView Model"),
-                           P_("The model for the tree view"),
+      g_param_spec_object ("model", NULL, NULL,
                            GTK_TYPE_TREE_MODEL,
                            GTK_PARAM_READWRITE);
 
   tree_view_props[PROP_HEADERS_VISIBLE] =
-      g_param_spec_boolean ("headers-visible",
-                            P_("Headers Visible"),
-                            P_("Show the column header buttons"),
+      g_param_spec_boolean ("headers-visible", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_view_props[PROP_HEADERS_CLICKABLE] =
-      g_param_spec_boolean ("headers-clickable",
-                            P_("Headers Clickable"),
-                            P_("Column headers respond to click events"),
+      g_param_spec_boolean ("headers-clickable", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_view_props[PROP_EXPANDER_COLUMN] =
-      g_param_spec_object ("expander-column",
-                           P_("Expander Column"),
-                           P_("Set the column for the expander column"),
+      g_param_spec_object ("expander-column", NULL, NULL,
                            GTK_TYPE_TREE_VIEW_COLUMN,
                            GTK_PARAM_READWRITE);
 
   tree_view_props[PROP_REORDERABLE] =
-      g_param_spec_boolean ("reorderable",
-                            P_("Reorderable"),
-                            P_("View is reorderable"),
+      g_param_spec_boolean ("reorderable", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_view_props[PROP_ENABLE_SEARCH] =
-      g_param_spec_boolean ("enable-search",
-                            P_("Enable Search"),
-                            P_("View allows user to search through columns interactively"),
+      g_param_spec_boolean ("enable-search", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_view_props[PROP_SEARCH_COLUMN] =
-      g_param_spec_int ("search-column",
-                        P_("Search Column"),
-                        P_("Model column to search through during interactive search"),
+      g_param_spec_int ("search-column", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1051,9 +1037,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
    * information on this option.
    */
   tree_view_props[PROP_FIXED_HEIGHT_MODE] =
-      g_param_spec_boolean ("fixed-height-mode",
-                            P_("Fixed Height Mode"),
-                            P_("Speeds up GtkTreeView by assuming that all rows have the same height"),
+      g_param_spec_boolean ("fixed-height-mode", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1069,9 +1053,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
    * in `GtkComboBox` or `GtkEntryCompletion`.
    */
   tree_view_props[PROP_HOVER_SELECTION] =
-      g_param_spec_boolean ("hover-selection",
-                            P_("Hover Selection"),
-                            P_("Whether the selection should follow the pointer"),
+      g_param_spec_boolean ("hover-selection", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1086,9 +1068,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
    * in `GtkComboBox` or `GtkEntryCompletion`.
    */
   tree_view_props[PROP_HOVER_EXPAND] =
-      g_param_spec_boolean ("hover-expand",
-                            P_("Hover Expand"),
-                            P_("Whether rows should be expanded/collapsed when the pointer moves over them"),
+      g_param_spec_boolean ("hover-expand", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1098,9 +1078,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
    * %TRUE if the view has expanders.
    */
   tree_view_props[PROP_SHOW_EXPANDERS] =
-      g_param_spec_boolean ("show-expanders",
-                            P_("Show Expanders"),
-                            P_("View has expanders"),
+      g_param_spec_boolean ("show-expanders", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1110,39 +1088,29 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
    * Extra indentation for each level.
    */
   tree_view_props[PROP_LEVEL_INDENTATION] =
-      g_param_spec_int ("level-indentation",
-                        P_("Level Indentation"),
-                        P_("Extra indentation for each level"),
+      g_param_spec_int ("level-indentation", NULL, NULL,
                         0, G_MAXINT,
                         0,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_view_props[PROP_RUBBER_BANDING] =
-      g_param_spec_boolean ("rubber-banding",
-                            P_("Rubber Banding"),
-                            P_("Whether to enable selection of multiple items by dragging the mouse pointer"),
+      g_param_spec_boolean ("rubber-banding", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_view_props[PROP_ENABLE_GRID_LINES] =
-      g_param_spec_enum ("enable-grid-lines",
-                         P_("Enable Grid Lines"),
-                         P_("Whether grid lines should be drawn in the tree view"),
+      g_param_spec_enum ("enable-grid-lines", NULL, NULL,
                          GTK_TYPE_TREE_VIEW_GRID_LINES,
                          GTK_TREE_VIEW_GRID_LINES_NONE,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_view_props[PROP_ENABLE_TREE_LINES] =
-      g_param_spec_boolean ("enable-tree-lines",
-                            P_("Enable Tree Lines"),
-                            P_("Whether tree lines should be drawn in the tree view"),
+      g_param_spec_boolean ("enable-tree-lines", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_view_props[PROP_TOOLTIP_COLUMN] =
-      g_param_spec_int ("tooltip-column",
-                        P_("Tooltip Column"),
-                        P_("The column in the model containing the tooltip texts for the rows"),
+      g_param_spec_int ("tooltip-column", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1154,9 +1122,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
    * will be emitted after a single click.
    */
   tree_view_props[PROP_ACTIVATE_ON_SINGLE_CLICK] =
-      g_param_spec_boolean ("activate-on-single-click",
-                            P_("Activate on Single Click"),
-                            P_("Activate row on a single click"),
+      g_param_spec_boolean ("activate-on-single-click", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index b7bada839f3431a6557ccc0183fdf73d22dfb134..b3cf60edb07d6b222154375da775324f7e068966 100644 (file)
@@ -272,128 +272,94 @@ gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class)
                   G_TYPE_NONE, 0);
 
   tree_column_props[PROP_VISIBLE] =
-      g_param_spec_boolean ("visible",
-                            P_("Visible"),
-                            P_("Whether to display the column"),
+      g_param_spec_boolean ("visible", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_column_props[PROP_RESIZABLE] =
-      g_param_spec_boolean ("resizable",
-                            P_("Resizable"),
-                            P_("Column is user-resizable"),
+      g_param_spec_boolean ("resizable", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_column_props[PROP_X_OFFSET] =
-      g_param_spec_int ("x-offset",
-                        P_("X position"),
-                        P_("Current X position of the column"),
+      g_param_spec_int ("x-offset", NULL, NULL,
                         -G_MAXINT, G_MAXINT,
                         0,
                         GTK_PARAM_READABLE);
 
   tree_column_props[PROP_WIDTH] =
-      g_param_spec_int ("width",
-                        P_("Width"),
-                        P_("Current width of the column"),
+      g_param_spec_int ("width", NULL, NULL,
                         0, G_MAXINT,
                         0,
                         GTK_PARAM_READABLE);
 
   tree_column_props[PROP_SPACING] =
-      g_param_spec_int ("spacing",
-                        P_("Spacing"),
-                        P_("Space which is inserted between cells"),
+      g_param_spec_int ("spacing", NULL, NULL,
                         0, G_MAXINT,
                         0,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_column_props[PROP_SIZING] =
-      g_param_spec_enum ("sizing",
-                         P_("Sizing"),
-                         P_("Resize mode of the column"),
+      g_param_spec_enum ("sizing", NULL, NULL,
                          GTK_TYPE_TREE_VIEW_COLUMN_SIZING,
                          GTK_TREE_VIEW_COLUMN_GROW_ONLY,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_column_props[PROP_FIXED_WIDTH] =
-      g_param_spec_int ("fixed-width",
-                         P_("Fixed Width"),
-                         P_("Current fixed width of the column"),
+      g_param_spec_int ("fixed-width", NULL, NULL,
                          -1, G_MAXINT,
                          -1,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_column_props[PROP_MIN_WIDTH] =
-      g_param_spec_int ("min-width",
-                        P_("Minimum Width"),
-                        P_("Minimum allowed width of the column"),
+      g_param_spec_int ("min-width", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_column_props[PROP_MAX_WIDTH] =
-      g_param_spec_int ("max-width",
-                        P_("Maximum Width"),
-                        P_("Maximum allowed width of the column"),
+      g_param_spec_int ("max-width", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_column_props[PROP_TITLE] =
-      g_param_spec_string ("title",
-                           P_("Title"),
-                           P_("Title to appear in column header"),
+      g_param_spec_string ("title", NULL, NULL,
                            "",
                            GTK_PARAM_READWRITE);
 
   tree_column_props[PROP_EXPAND] =
-      g_param_spec_boolean ("expand",
-                            P_("Expand"),
-                            P_("Column gets share of extra width allocated to the widget"),
+      g_param_spec_boolean ("expand", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_column_props[PROP_CLICKABLE] =
-      g_param_spec_boolean ("clickable",
-                            P_("Clickable"),
-                            P_("Whether the header can be clicked"),
+      g_param_spec_boolean ("clickable", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_column_props[PROP_WIDGET] =
-      g_param_spec_object ("widget",
-                           P_("Widget"),
-                           P_("Widget to put in column header button instead of column title"),
+      g_param_spec_object ("widget", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE);
 
   tree_column_props[PROP_ALIGNMENT] =
-      g_param_spec_float ("alignment",
-                          P_("Alignment"),
-                          P_("X Alignment of the column header text or widget"),
+      g_param_spec_float ("alignment", NULL, NULL,
                           0.0, 1.0, 0.0,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_column_props[PROP_REORDERABLE] =
-      g_param_spec_boolean ("reorderable",
-                            P_("Reorderable"),
-                            P_("Whether the column can be reordered around the headers"),
+      g_param_spec_boolean ("reorderable", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_column_props[PROP_SORT_INDICATOR] =
-      g_param_spec_boolean ("sort-indicator",
-                            P_("Sort indicator"),
-                            P_("Whether to show a sort indicator"),
+      g_param_spec_boolean ("sort-indicator", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
   tree_column_props[PROP_SORT_ORDER] =
-      g_param_spec_enum ("sort-order",
-                         P_("Sort order"),
-                         P_("Sort direction the sort indicator should indicate"),
+      g_param_spec_enum ("sort-order", NULL, NULL,
                          GTK_TYPE_SORT_TYPE,
                          GTK_SORT_ASCENDING,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -405,9 +371,7 @@ gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class)
    * clickable. Set to -1 to make the column unsortable.
    **/
   tree_column_props[PROP_SORT_COLUMN_ID] =
-      g_param_spec_int ("sort-column-id",
-                        P_("Sort column ID"),
-                        P_("Logical sort column ID this column sorts on when selected for sorting"),
+      g_param_spec_int ("sort-column-id", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -421,9 +385,7 @@ gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class)
    * a horizontally oriented `GtkCellAreaBox` will be used.
    */
   tree_column_props[PROP_CELL_AREA] =
-      g_param_spec_object ("cell-area",
-                           P_("Cell Area"),
-                           P_("The GtkCellArea used to layout cells"),
+      g_param_spec_object ("cell-area", NULL, NULL,
                            GTK_TYPE_CELL_AREA,
                            GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY);
 
index 22c232b53eab4a0a478b2d6104da6835553e3a0b..ef5e182dd05539ebefad3aac20ce1a340b3457b7 100644 (file)
@@ -314,9 +314,7 @@ gtk_video_class_init (GtkVideoClass *klass)
    * If the video should automatically begin playing.
    */
   properties[PROP_AUTOPLAY] =
-    g_param_spec_boolean ("autoplay",
-                          P_("Autoplay"),
-                          P_("If playback should begin automatically"),
+    g_param_spec_boolean ("autoplay", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -326,9 +324,7 @@ gtk_video_class_init (GtkVideoClass *klass)
    * The file played by this video if the video is playing a file.
    */
   properties[PROP_FILE] =
-    g_param_spec_object ("file",
-                         P_("File"),
-                         P_("The video file played back"),
+    g_param_spec_object ("file", NULL, NULL,
                          G_TYPE_FILE,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -338,9 +334,7 @@ gtk_video_class_init (GtkVideoClass *klass)
    * If new media files should be set to loop.
    */
   properties[PROP_LOOP] =
-    g_param_spec_boolean ("loop",
-                          P_("Loop"),
-                          P_("If new media streams should be set to loop"),
+    g_param_spec_boolean ("loop", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
@@ -350,9 +344,7 @@ gtk_video_class_init (GtkVideoClass *klass)
    * The media-stream played
    */
   properties[PROP_MEDIA_STREAM] =
-    g_param_spec_object ("media-stream",
-                         P_("Media Stream"),
-                         P_("The media stream played"),
+    g_param_spec_object ("media-stream", NULL, NULL,
                          GTK_TYPE_MEDIA_STREAM,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index ccac4fbf90010a8b943f233b2c9a7919b546eab5..39b44370f2f7e19e899b82f5db655f0a46148bc3 100644 (file)
@@ -319,9 +319,7 @@ gtk_viewport_class_init (GtkViewportClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SCROLL_TO_FOCUS,
-                                   g_param_spec_boolean ("scroll-to-focus",
-                                                         P_("Scroll to focus"),
-                                                         P_("Whether to scroll when the focus changes"),
+                                   g_param_spec_boolean ("scroll-to-focus", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
@@ -332,9 +330,7 @@ gtk_viewport_class_init (GtkViewportClass *class)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_CHILD,
-                                   g_param_spec_object ("child",
-                                                        P_("Child"),
-                                                        P_("The child widget"),
+                                   g_param_spec_object ("child", NULL, NULL,
                                                         GTK_TYPE_WIDGET,
                                                         GTK_PARAM_READWRITE));
 
index 5d9c494a29c182097869383d7bef73aeb5d3b5b9..018c96cc18b278e902d0d06d55e16df783a0800e 100644 (file)
@@ -169,9 +169,7 @@ gtk_volume_button_class_init (GtkVolumeButtonClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_SYMBOLIC,
-                                   g_param_spec_boolean ("use-symbolic",
-                                                         P_("Use symbolic icons"),
-                                                         P_("Whether to use symbolic icons"),
+                                   g_param_spec_boolean ("use-symbolic", NULL, NULL,
                                                          TRUE,
                                                          GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY));
 
index afe7e9224e8b6d8e20e2b94df9ff93280b3df572..3d1a46897d81c6df867f43579a3c2d5277f1e8fa 100644 (file)
@@ -1186,9 +1186,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * The name of the widget.
    */
   widget_props[PROP_NAME] =
-      g_param_spec_string ("name",
-                           P_("Widget name"),
-                           P_("The name of the widget"),
+      g_param_spec_string ("name", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
@@ -1198,9 +1196,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * The parent widget of this widget.
    */
   widget_props[PROP_PARENT] =
-      g_param_spec_object ("parent",
-                           P_("Parent widget"),
-                           P_("The parent widget of this widget."),
+      g_param_spec_object ("parent", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READABLE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1212,9 +1208,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * This will be %NULL if the widget is not contained in a root widget.
    */
   widget_props[PROP_ROOT] =
-      g_param_spec_object ("root",
-                           P_("Root widget"),
-                           P_("The root widget in the widget tree."),
+      g_param_spec_object ("root", NULL, NULL,
                            GTK_TYPE_ROOT,
                            GTK_PARAM_READABLE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1226,9 +1220,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * If this is -1, the natural request will be used.
    */
   widget_props[PROP_WIDTH_REQUEST] =
-      g_param_spec_int ("width-request",
-                        P_("Width request"),
-                        P_("Override for width request of the widget, or -1 if natural request should be used"),
+      g_param_spec_int ("width-request", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1241,9 +1233,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * If this is -1, the natural request will be used.
    */
   widget_props[PROP_HEIGHT_REQUEST] =
-      g_param_spec_int ("height-request",
-                        P_("Height request"),
-                        P_("Override for height request of the widget, or -1 if natural request should be used"),
+      g_param_spec_int ("height-request", NULL, NULL,
                         -1, G_MAXINT,
                         -1,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1254,9 +1244,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * Whether the widget is visible.
    */
   widget_props[PROP_VISIBLE] =
-      g_param_spec_boolean ("visible",
-                            P_("Visible"),
-                            P_("Whether the widget is visible"),
+      g_param_spec_boolean ("visible", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1266,9 +1254,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * Whether the widget responds to input.
    */
   widget_props[PROP_SENSITIVE] =
-      g_param_spec_boolean ("sensitive",
-                            P_("Sensitive"),
-                            P_("Whether the widget responds to input"),
+      g_param_spec_boolean ("sensitive", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1282,9 +1268,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * typically in their instance init function.
    */
   widget_props[PROP_CAN_FOCUS] =
-      g_param_spec_boolean ("can-focus",
-                            P_("Can focus"),
-                            P_("Whether the widget can accept the input focus"),
+      g_param_spec_boolean ("can-focus", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1294,9 +1278,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * Whether this widget itself will accept the input focus.
    */
   widget_props[PROP_FOCUSABLE] =
-      g_param_spec_boolean ("focusable",
-                            P_("Focusable"),
-                            P_("Whether the widget can accept the input focus"),
+      g_param_spec_boolean ("focusable", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1306,9 +1288,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * Whether the widget has the input focus.
    */
   widget_props[PROP_HAS_FOCUS] =
-      g_param_spec_boolean ("has-focus",
-                            P_("Has focus"),
-                            P_("Whether the widget has the input focus"),
+      g_param_spec_boolean ("has-focus", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READABLE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1318,9 +1298,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * Whether the widget can receive pointer events.
    */
   widget_props[PROP_CAN_TARGET] =
-      g_param_spec_boolean ("can-target",
-                            P_("Can target"),
-                            P_("Whether the widget can receive pointer events"),
+      g_param_spec_boolean ("can-target", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1332,9 +1310,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * This property is only relevant for widgets that can take focus.
    */
   widget_props[PROP_FOCUS_ON_CLICK] =
-      g_param_spec_boolean ("focus-on-click",
-                            P_("Focus on click"),
-                            P_("Whether the widget should grab focus when it is clicked with the mouse"),
+      g_param_spec_boolean ("focus-on-click", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1344,9 +1320,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * Whether the widget is the default widget.
    */
   widget_props[PROP_HAS_DEFAULT] =
-      g_param_spec_boolean ("has-default",
-                            P_("Has default"),
-                            P_("Whether the widget is the default widget"),
+      g_param_spec_boolean ("has-default", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READABLE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1356,9 +1330,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * Whether the widget will receive the default action when it is focused.
    */
   widget_props[PROP_RECEIVES_DEFAULT] =
-      g_param_spec_boolean ("receives-default",
-                            P_("Receives default"),
-                            P_("If TRUE, the widget will receive the default action when it is focused"),
+      g_param_spec_boolean ("receives-default", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1368,9 +1340,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
  * The cursor used by @widget.
  */
   widget_props[PROP_CURSOR] =
-      g_param_spec_object("cursor",
-                          P_("Cursor"),
-                          P_("The cursor to show when hovering above widget"),
+      g_param_spec_object("cursor", NULL, NULL,
                           GDK_TYPE_CURSOR,
                           GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1384,9 +1354,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
  * determine whether it will provide a tooltip or not.
  */
   widget_props[PROP_HAS_TOOLTIP] =
-      g_param_spec_boolean ("has-tooltip",
-                            P_("Has tooltip"),
-                            P_("Whether this widget has a tooltip"),
+      g_param_spec_boolean ("has-tooltip", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1407,9 +1375,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * [property@Gtk.Widget:tooltip-markup] are set, the last one wins.
    */
   widget_props[PROP_TOOLTIP_TEXT] =
-      g_param_spec_string ("tooltip-text",
-                           P_("Tooltip Text"),
-                           P_("The contents of the tooltip for this widget"),
+      g_param_spec_string ("tooltip-text", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1431,9 +1397,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * [property@Gtk.Widget:tooltip-markup] are set, the last one wins.
    */
   widget_props[PROP_TOOLTIP_MARKUP] =
-      g_param_spec_string ("tooltip-markup",
-                           P_("Tooltip markup"),
-                           P_("The contents of the tooltip for this widget"),
+      g_param_spec_string ("tooltip-markup", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1443,9 +1407,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * How to distribute horizontal space if widget gets extra space.
    */
   widget_props[PROP_HALIGN] =
-      g_param_spec_enum ("halign",
-                         P_("Horizontal Alignment"),
-                         P_("How to position in extra horizontal space"),
+      g_param_spec_enum ("halign", NULL, NULL,
                          GTK_TYPE_ALIGN,
                          GTK_ALIGN_FILL,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1456,9 +1418,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * How to distribute vertical space if widget gets extra space.
    */
   widget_props[PROP_VALIGN] =
-      g_param_spec_enum ("valign",
-                         P_("Vertical Alignment"),
-                         P_("How to position in extra vertical space"),
+      g_param_spec_enum ("valign", NULL, NULL,
                          GTK_TYPE_ALIGN,
                          GTK_ALIGN_FILL,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1476,9 +1436,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * [method@Gtk.Widget.set_size_request] for example.
    */
   widget_props[PROP_MARGIN_START] =
-      g_param_spec_int ("margin-start",
-                        P_("Margin on Start"),
-                        P_("Pixels of extra space on the start"),
+      g_param_spec_int ("margin-start", NULL, NULL,
                         0, G_MAXINT16,
                         0,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1496,9 +1454,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * [method@Gtk.Widget.set_size_request] for example.
    */
   widget_props[PROP_MARGIN_END] =
-      g_param_spec_int ("margin-end",
-                        P_("Margin on End"),
-                        P_("Pixels of extra space on the end"),
+      g_param_spec_int ("margin-end", NULL, NULL,
                         0, G_MAXINT16,
                         0,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1513,9 +1469,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * [method@Gtk.Widget.set_size_request] for example.
    */
   widget_props[PROP_MARGIN_TOP] =
-      g_param_spec_int ("margin-top",
-                        P_("Margin on Top"),
-                        P_("Pixels of extra space on the top side"),
+      g_param_spec_int ("margin-top", NULL, NULL,
                         0, G_MAXINT16,
                         0,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1530,9 +1484,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * [method@Gtk.Widget.set_size_request] for example.
    */
   widget_props[PROP_MARGIN_BOTTOM] =
-      g_param_spec_int ("margin-bottom",
-                        P_("Margin on Bottom"),
-                        P_("Pixels of extra space on the bottom side"),
+      g_param_spec_int ("margin-bottom", NULL, NULL,
                         0, G_MAXINT16,
                         0,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1543,9 +1495,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * Whether to expand horizontally.
    */
   widget_props[PROP_HEXPAND] =
-      g_param_spec_boolean ("hexpand",
-                            P_("Horizontal Expand"),
-                            P_("Whether widget wants more horizontal space"),
+      g_param_spec_boolean ("hexpand", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1555,9 +1505,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * Whether to use the `hexpand` property.
    */
   widget_props[PROP_HEXPAND_SET] =
-      g_param_spec_boolean ("hexpand-set",
-                            P_("Horizontal Expand Set"),
-                            P_("Whether to use the hexpand property"),
+      g_param_spec_boolean ("hexpand-set", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1567,9 +1515,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * Whether to expand vertically.
    */
   widget_props[PROP_VEXPAND] =
-      g_param_spec_boolean ("vexpand",
-                            P_("Vertical Expand"),
-                            P_("Whether widget wants more vertical space"),
+      g_param_spec_boolean ("vexpand", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1579,9 +1525,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * Whether to use the `vexpand` property.
    */
   widget_props[PROP_VEXPAND_SET] =
-      g_param_spec_boolean ("vexpand-set",
-                            P_("Vertical Expand Set"),
-                            P_("Whether to use the vexpand property"),
+      g_param_spec_boolean ("vexpand-set", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1591,9 +1535,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * The requested opacity of the widget.
    */
   widget_props[PROP_OPACITY] =
-      g_param_spec_double ("opacity",
-                           P_("Opacity for Widget"),
-                           P_("The opacity of the widget, from 0 to 1"),
+      g_param_spec_double ("opacity", NULL, NULL,
                            0.0, 1.0,
                            1.0,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1607,9 +1549,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * typically in their instance init function.
    */
   widget_props[PROP_OVERFLOW] =
-      g_param_spec_enum ("overflow",
-                         P_("Overflow"),
-                         P_("How content outside the widget’s content area is treated"),
+      g_param_spec_enum ("overflow", NULL, NULL,
                          GTK_TYPE_OVERFLOW,
                          GTK_OVERFLOW_VISIBLE,
                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -1620,9 +1560,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * The scale factor of the widget.
    */
   widget_props[PROP_SCALE_FACTOR] =
-      g_param_spec_int ("scale-factor",
-                        P_("Scale factor"),
-                        P_("The scaling factor of the window"),
+      g_param_spec_int ("scale-factor", NULL, NULL,
                         1, G_MAXINT,
                         1,
                         GTK_PARAM_READABLE);
@@ -1636,9 +1574,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * typically in their instance init function.
    */
   widget_props[PROP_CSS_NAME] =
-      g_param_spec_string ("css-name",
-                           P_("CSS Name"),
-                           P_("The name of this widget in the CSS tree"),
+      g_param_spec_string ("css-name", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
 
@@ -1648,9 +1584,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * A list of css classes applied to this widget.
    */
   widget_props[PROP_CSS_CLASSES] =
-      g_param_spec_boxed ("css-classes",
-                          P_("CSS Style Classes"),
-                          P_("List of CSS classes"),
+      g_param_spec_boxed ("css-classes", NULL, NULL,
                           G_TYPE_STRV,
                           GTK_PARAM_READWRITE);
 
@@ -1664,9 +1598,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
    * typically in their instance init function.
    */
   widget_props[PROP_LAYOUT_MANAGER] =
-    g_param_spec_object ("layout-manager",
-                         P_("Layout Manager"),
-                         P_("The layout manager used to layout children of the widget"),
+    g_param_spec_object ("layout-manager", NULL, NULL,
                          GTK_TYPE_LAYOUT_MANAGER,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 50ea1582fb402fe0a646a2afb766234aa701c8de..5c50abe33ef98aa0d453d68721a9a49c7ab2eccb 100644 (file)
@@ -243,9 +243,7 @@ gtk_widget_paintable_class_init (GtkWidgetPaintableClass *klass)
    * The observed widget or %NULL if none.
    */
   properties[PROP_WIDGET] =
-    g_param_spec_object ("widget",
-                         P_("Widget"),
-                         P_("Observed widget"),
+    g_param_spec_object ("widget", NULL, NULL,
                          GTK_TYPE_WIDGET,
                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index 2ad8b17509ef9b17502c7e0511103e9004eb7bd2..c2ff60da32371f00e84b6cdfc21577e7127f8c4f 100644 (file)
@@ -773,9 +773,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * The title of the window.
    */
   window_props[PROP_TITLE] =
-      g_param_spec_string ("title",
-                           P_("Window Title"),
-                           P_("The title of the window"),
+      g_param_spec_string ("title", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE);
 
@@ -785,9 +783,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * A write-only property for setting window's startup notification identifier.
    */
   window_props[PROP_STARTUP_ID] =
-      g_param_spec_string ("startup-id",
-                           P_("Startup ID"),
-                           P_("Unique startup identifier for the window used by startup-notification"),
+      g_param_spec_string ("startup-id", NULL, NULL,
                            NULL,
                            GTK_PARAM_WRITABLE);
 
@@ -797,9 +793,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * If %TRUE, users can resize the window.
    */
   window_props[PROP_RESIZABLE] =
-      g_param_spec_boolean ("resizable",
-                            P_("Resizable"),
-                            P_("If TRUE, users can resize the window"),
+      g_param_spec_boolean ("resizable", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -809,9 +803,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * If %TRUE, the window is modal.
    */
   window_props[PROP_MODAL] =
-      g_param_spec_boolean ("modal",
-                            P_("Modal"),
-                            P_("If TRUE, the window is modal (other windows are not usable while this one is up)"),
+      g_param_spec_boolean ("modal", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -821,9 +813,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * The default width of the window.
    */
   window_props[PROP_DEFAULT_WIDTH] =
-      g_param_spec_int ("default-width",
-                        P_("Default Width"),
-                        P_("The default width of the window"),
+      g_param_spec_int ("default-width", NULL, NULL,
                         -1, G_MAXINT,
                         0,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -834,9 +824,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * The default height of the window.
    */
   window_props[PROP_DEFAULT_HEIGHT] =
-      g_param_spec_int ("default-height",
-                        P_("Default Height"),
-                        P_("The default height of the window"),
+      g_param_spec_int ("default-height", NULL, NULL,
                         -1, G_MAXINT,
                         0,
                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
@@ -847,9 +835,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * If this window should be destroyed when the parent is destroyed.
    */
   window_props[PROP_DESTROY_WITH_PARENT] =
-      g_param_spec_boolean ("destroy-with-parent",
-                            P_("Destroy with Parent"),
-                            P_("If this window should be destroyed when the parent is destroyed"),
+      g_param_spec_boolean ("destroy-with-parent", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -859,9 +845,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * If this window should be hidden when the users clicks the close button.
    */
   window_props[PROP_HIDE_ON_CLOSE] =
-      g_param_spec_boolean ("hide-on-close",
-                            P_("Hide on close"),
-                            P_("If this window should be hidden when the user clicks the close button"),
+      g_param_spec_boolean ("hide-on-close", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -874,9 +858,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * and should not be set by applications.
    */
   window_props[PROP_MNEMONICS_VISIBLE] =
-      g_param_spec_boolean ("mnemonics-visible",
-                            P_("Mnemonics Visible"),
-                            P_("Whether mnemonics are currently visible in this window"),
+      g_param_spec_boolean ("mnemonics-visible", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -889,9 +871,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * and should not be set by applications.
    */
   window_props[PROP_FOCUS_VISIBLE] =
-      g_param_spec_boolean ("focus-visible",
-                            P_("Focus Visible"),
-                            P_("Whether focus rectangles are currently visible in this window"),
+      g_param_spec_boolean ("focus-visible", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -903,9 +883,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * See [class@Gtk.IconTheme] for more details.
    */
   window_props[PROP_ICON_NAME] =
-      g_param_spec_string ("icon-name",
-                           P_("Icon Name"),
-                           P_("Name of the themed icon for this window"),
+      g_param_spec_string ("icon-name", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -915,9 +893,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * The display that will display this window.
    */
   window_props[PROP_DISPLAY] =
-      g_param_spec_object ("display",
-                           P_("Display"),
-                           P_("The display that will display this window"),
+      g_param_spec_object ("display", NULL, NULL,
                            GDK_TYPE_DISPLAY,
                            GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -927,9 +903,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * Whether the toplevel is the currently active window.
    */
   window_props[PROP_IS_ACTIVE] =
-      g_param_spec_boolean ("is-active",
-                            P_("Is Active"),
-                            P_("Whether the toplevel is the current active window"),
+      g_param_spec_boolean ("is-active", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READABLE);
 
@@ -939,9 +913,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * Whether the window should have a frame (also known as *decorations*).
    */
   window_props[PROP_DECORATED] =
-      g_param_spec_boolean ("decorated",
-                            P_("Decorated"),
-                            P_("Whether the window should be decorated by the window manager"),
+      g_param_spec_boolean ("decorated", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -951,9 +923,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * Whether the window frame should have a close button.
    */
   window_props[PROP_DELETABLE] =
-      g_param_spec_boolean ("deletable",
-                            P_("Deletable"),
-                            P_("Whether the window frame should have a close button"),
+      g_param_spec_boolean ("deletable", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -963,9 +933,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * The transient parent of the window.
    */
   window_props[PROP_TRANSIENT_FOR] =
-      g_param_spec_object ("transient-for",
-                           P_("Transient for Window"),
-                           P_("The transient parent of the dialog"),
+      g_param_spec_object ("transient-for", NULL, NULL,
                            GTK_TYPE_WINDOW,
                            GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -981,9 +949,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * operation was successful.
    */
   window_props[PROP_MAXIMIZED] =
-      g_param_spec_boolean ("maximized",
-                            P_("Is Maximized"),
-                            P_("Whether the window is maximized"),
+      g_param_spec_boolean ("maximized", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -999,9 +965,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * operation was successful.
    */
   window_props[PROP_FULLSCREENED] =
-      g_param_spec_boolean ("fullscreened",
-                            P_("Is fullscreen"),
-                            P_("Whether the window is fullscreen"),
+      g_param_spec_boolean ("fullscreened", NULL, NULL,
                             FALSE,
                             GTK_PARAM_READWRITE|G_PARAM_CONSTRUCT|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1019,9 +983,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * remove it by setting the :application property to %NULL.
    */
   window_props[PROP_APPLICATION] =
-      g_param_spec_object ("application",
-                           P_("GtkApplication"),
-                           P_("The GtkApplication for the window"),
+      g_param_spec_object ("application", NULL, NULL,
                            GTK_TYPE_APPLICATION,
                            GTK_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1031,9 +993,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * The default widget.
    */
   window_props[PROP_DEFAULT_WIDGET] =
-      g_param_spec_object ("default-widget",
-                           P_("Default widget"),
-                           P_("The default widget"),
+      g_param_spec_object ("default-widget", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1043,9 +1003,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * The focus widget.
    */
   window_props[PROP_FOCUS_WIDGET] =
-      g_param_spec_object ("focus-widget",
-                           P_("Focus widget"),
-                           P_("The focus widget"),
+      g_param_spec_object ("focus-widget", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1055,9 +1013,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * The child widget.
    */
   window_props[PROP_CHILD] =
-      g_param_spec_object ("child",
-                           P_("Child"),
-                           P_("The child widget"),
+      g_param_spec_object ("child", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1069,9 +1025,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * Since: 4.6
    */
   window_props[PROP_TITLEBAR] =
-      g_param_spec_object ("titlebar",
-                           P_("Titlebar"),
-                           P_("The titlebar widget"),
+      g_param_spec_object ("titlebar", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
 
@@ -1084,9 +1038,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    * Since: 4.2
    */
   window_props[PROP_HANDLE_MENUBAR_ACCEL] =
-      g_param_spec_boolean ("handle-menubar-accel",
-                            P_("Handle Menubar accels"),
-                            P_("Whether the window should handle F10"),
+      g_param_spec_boolean ("handle-menubar-accel", NULL, NULL,
                             TRUE,
                             GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
 
index 2efabb603cf0953a5a783551a2b309e006996a26..a9ffe2aa0161323ba69dc5f2ccd8733f3574a13f 100644 (file)
@@ -515,9 +515,7 @@ gtk_window_controls_class_init (GtkWindowControlsClass *klass)
    * See [property@Gtk.WindowControls:decoration_layout].
    */
   props[PROP_SIDE] =
-      g_param_spec_enum ("side",
-                         P_("Side"),
-                         P_("Whether the widget shows start or end portion of the decoration layout"),
+      g_param_spec_enum ("side", NULL, NULL,
                          GTK_TYPE_PACK_TYPE,
                          GTK_PACK_START,
                          GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
@@ -531,9 +529,7 @@ gtk_window_controls_class_init (GtkWindowControlsClass *klass)
    * [property@Gtk.Settings:gtk-decoration-layout] setting is used.
    */
   props[PROP_DECORATION_LAYOUT] =
-      g_param_spec_string ("decoration-layout",
-                           P_("Decoration Layout"),
-                           P_("The layout for window decorations"),
+      g_param_spec_string ("decoration-layout", NULL, NULL,
                            NULL,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -543,9 +539,7 @@ gtk_window_controls_class_init (GtkWindowControlsClass *klass)
    * Whether the widget has any window buttons.
    */
   props[PROP_EMPTY] =
-    g_param_spec_boolean ("empty",
-                          P_("Empty"),
-                          P_("Whether the widget has any window buttons"),
+    g_param_spec_boolean ("empty", NULL, NULL,
                           TRUE,
                           GTK_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
 
index d0ba7fe424d8b115e7682eea5acdf9ef932ac07d..af0f8adb99f7534428d70af1192e67de4a3a8759 100644 (file)
@@ -533,9 +533,7 @@ gtk_window_handle_class_init (GtkWindowHandleClass *klass)
    * The child widget.
    */
   props[PROP_CHILD] =
-      g_param_spec_object ("child",
-                           P_("Child"),
-                           P_("The child widget"),
+      g_param_spec_object ("child", NULL, NULL,
                            GTK_TYPE_WIDGET,
                            GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index b6cd169e29d67c610f3f541637eca048dc7bf0d7..f4b1bdafcae8e87b9325f6ac63968f3edf84cbe3 100644 (file)
@@ -172,23 +172,23 @@ accessible_attribute_class_init (AccessibleAttributeClass *class)
   object_class->get_property = accessible_attribute_get_property;
 
   g_object_class_install_property (object_class, PROP_KIND,
-      g_param_spec_uint ("kind", "kind", "kind",
+      g_param_spec_uint ("kind", NULL, NULL,
                          0, 2, 0,
                          G_PARAM_READWRITE));
   g_object_class_install_property (object_class, PROP_ATTRIBUTE,
-      g_param_spec_uint ("attribute", "attribute", "attribute",
+      g_param_spec_uint ("attribute", NULL, NULL,
                          0, G_MAXUINT, 0,
                          G_PARAM_READWRITE));
   g_object_class_install_property (object_class, PROP_NAME,
-      g_param_spec_string ("name", "name", "name",
+      g_param_spec_string ("name", NULL, NULL,
                            NULL,
                            G_PARAM_READWRITE));
   g_object_class_install_property (object_class, PROP_IS_DEFAULT,
-      g_param_spec_boolean ("is-default", "is-default", "is-default",
+      g_param_spec_boolean ("is-default", NULL, NULL,
                             FALSE,
                             G_PARAM_READWRITE));
   g_object_class_install_property (object_class, PROP_VALUE,
-      g_param_spec_boxed ("value", "value", "value",
+      g_param_spec_boxed ("value", NULL, NULL,
                           GTK_TYPE_ACCESSIBLE_VALUE,
                           G_PARAM_READWRITE));
 }
index 980b31ab1a8c28cf8bdea281a50b7a747e1a4bc5..b0a3e4835ebfc3a99d01683929fd3e1588ba33f4 100644 (file)
@@ -315,11 +315,11 @@ gtk_inspector_action_editor_class_init (GtkInspectorActionEditorClass *klass)
   object_class->set_property = set_property;
 
   g_object_class_install_property (object_class, PROP_OWNER,
-      g_param_spec_object ("owner", "Owner", "The owner of the action",
+      g_param_spec_object ("owner", NULL, NULL,
                            G_TYPE_OBJECT, G_PARAM_READWRITE));
 
   g_object_class_install_property (object_class, PROP_NAME,
-      g_param_spec_string ("name", "Name", "The action name",
+      g_param_spec_string ("name", NULL, NULL,
                            NULL, G_PARAM_READWRITE));
 
   gtk_widget_class_set_layout_manager_type (widget_class, GTK_TYPE_BOX_LAYOUT);
index 628ad41a59e820dd18d101de4f9b08a02bb086ea..0aa65a0bb15287d586d8a9c5a6553e0f884f06d9 100644 (file)
@@ -255,25 +255,19 @@ gtk_cell_renderer_graph_class_init (GtkCellRendererGraphClass *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_DATA,
-                                   g_param_spec_object ("data",
-                                                        "Data",
-                                                        "The data to display",
+                                   g_param_spec_object ("data", NULL, NULL,
                                                          GTK_TYPE_GRAPH_DATA,
                                                          G_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_property (object_class,
                                    PROP_MINIMUM,
-                                   g_param_spec_double ("minimum",
-                                                        "Minimum",
-                                                        "Minimum value to use (or -G_MAXDOUBLE for graph's value",
+                                   g_param_spec_double ("minimum", NULL, NULL,
                                                         -G_MAXDOUBLE, G_MAXDOUBLE, -G_MAXDOUBLE,
                                                         G_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   g_object_class_install_property (object_class,
                                    PROP_MINIMUM,
-                                   g_param_spec_double ("maximum",
-                                                        "Maximum",
-                                                        "Maximum value to use (or G_MAXDOUBLE for graph's value",
+                                   g_param_spec_double ("maximum", NULL, NULL,
                                                         -G_MAXDOUBLE, G_MAXDOUBLE, G_MAXDOUBLE,
                                                         G_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 }
index 46f507f6f84b1760e81bf3592654e5ba7fe7f3a5..a5601d7b82c92fcddddca08f67d2bf04ab59068a 100644 (file)
@@ -234,9 +234,7 @@ gtk_inspector_css_node_tree_class_init (GtkInspectorCssNodeTreeClass *klass)
   object_class->finalize = gtk_inspector_css_node_tree_finalize;
 
   properties[PROP_NODE] =
-    g_param_spec_object ("node",
-                         "Node",
-                         "Currently inspected CSS node",
+    g_param_spec_object ("node", NULL, NULL,
                          GTK_TYPE_CSS_NODE,
                          G_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index bdb36612c80bc179d2b105591c613c977b66c165..c546e148af4abf2b30a05a0d275be27c54807407 100644 (file)
@@ -95,9 +95,7 @@ gtk_graph_data_class_init (GtkGraphDataClass *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_N_VALUES,
-                                   g_param_spec_uint ("n-values",
-                                                      "n values",
-                                                      "Number of values in the graph",
+                                   g_param_spec_uint ("n-values", NULL, NULL,
                                                       1, G_MAXUINT, 1,
                                                       G_PARAM_READWRITE|G_PARAM_CONSTRUCT_ONLY));
 }
index fd8154b4a8802f5b1fe36dbc2554c3f602b09808..bea24dd6d991034e584366e918ef52173277a11c 100644 (file)
@@ -165,9 +165,7 @@ gtk_data_viewer_class_init (GtkDataViewerClass *klass)
   gobject_class->set_property = gtk_data_viewer_set_property;
 
   properties[PROP_LOADING] =
-    g_param_spec_boolean ("loading",
-                          "Loading",
-                          "If the widget is currently loading the data to display",
+    g_param_spec_boolean ("loading", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS);
 
index 05048f5472883ebc9fcb64efebe0fc011ebf9743..2087e9e14b8110b947bcad60ff48e6b090ff7f25 100644 (file)
@@ -1791,15 +1791,15 @@ gtk_inspector_prop_editor_class_init (GtkInspectorPropEditorClass *klass)
                   G_TYPE_NONE, 3, G_TYPE_OBJECT, G_TYPE_STRING, G_TYPE_STRING);
 
   g_object_class_install_property (object_class, PROP_OBJECT,
-      g_param_spec_object ("object", "Object", "The object owning the property",
+      g_param_spec_object ("object", NULL, NULL,
                            G_TYPE_OBJECT, G_PARAM_READWRITE|G_PARAM_CONSTRUCT));
 
   g_object_class_install_property (object_class, PROP_NAME,
-      g_param_spec_string ("name", "Name", "The property name",
+      g_param_spec_string ("name", NULL, NULL,
                            NULL, G_PARAM_READWRITE|G_PARAM_CONSTRUCT));
 
   g_object_class_install_property (object_class, PROP_SIZE_GROUP,
-      g_param_spec_object ("size-group", "Size group", "The size group for the value part",
+      g_param_spec_object ("size-group", NULL, NULL,
                            GTK_TYPE_SIZE_GROUP, G_PARAM_READWRITE|G_PARAM_CONSTRUCT));
 }
 
index b6541052de789d0f4dcaef4068e9576d25b6a47a..d1401644d04eac7872d1e69c7df00975a224337e 100644 (file)
@@ -95,17 +95,17 @@ prop_holder_class_init (PropHolderClass *class)
   object_class->get_property = prop_holder_get_property;
 
   properties[PROP_OBJECT] =
-      g_param_spec_object ("object", "object", "object",
+      g_param_spec_object ("object", NULL, NULL,
                            G_TYPE_OBJECT,
                            G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
   properties[PROP_PSPEC] =
-      g_param_spec_param ("pspec", "pspec", "pspec",
+      g_param_spec_param ("pspec", NULL, NULL,
                           G_TYPE_PARAM,
                           G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
   properties[PROP_NAME] =
-      g_param_spec_string ("name", "name", "name",
+      g_param_spec_string ("name", NULL, NULL,
                            NULL,
                            G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
index 3487a36077ee3f54df94eecc16bec5a03445ce58..343aee5558bbab7f49d65c4864c722be8d823a8d 100644 (file)
@@ -442,7 +442,7 @@ gtk_inspector_prop_list_class_init (GtkInspectorPropListClass *klass)
   widget_class->unroot = unroot;
 
   g_object_class_install_property (object_class, PROP_SEARCH_ENTRY,
-      g_param_spec_object ("search-entry", "Search Entry", "Search Entry",
+      g_param_spec_object ("search-entry", NULL, NULL,
                            GTK_TYPE_WIDGET, G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
   gtk_widget_class_set_template_from_resource (widget_class, "/org/gtk/libgtk/inspector/prop-list.ui");
index a237509a801508f8bccb944d05aa013c5d760a63..43409cb81ffc6728f61a37f94d679faea66cb00e 100644 (file)
@@ -2056,20 +2056,16 @@ gtk_inspector_recorder_class_init (GtkInspectorRecorderClass *klass)
   object_class->dispose = gtk_inspector_recorder_dispose;
 
   props[PROP_RECORDING] =
-    g_param_spec_boolean ("recording",
-                          "Recording",
-                          "Whether the recorder is currently recording",
+    g_param_spec_boolean ("recording", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE);
   props[PROP_DEBUG_NODES] =
-    g_param_spec_boolean ("debug-nodes",
-                          "Debug nodes",
-                          "Whether to insert extra debug nodes in the tree",
+    g_param_spec_boolean ("debug-nodes", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE);
 
-  props[PROP_HIGHLIGHT_SEQUENCES] = g_param_spec_boolean ("highlight-sequences", "", "", FALSE, G_PARAM_READWRITE);
-  props[PROP_SELECTED_SEQUENCE] = g_param_spec_pointer ("selected-sequence", "", "", G_PARAM_READWRITE);
+  props[PROP_HIGHLIGHT_SEQUENCES] = g_param_spec_boolean ("highlight-sequences", NULL, NULL, FALSE, G_PARAM_READWRITE);
+  props[PROP_SELECTED_SEQUENCE] = g_param_spec_pointer ("selected-sequence", NULL, NULL, G_PARAM_READWRITE);
 
   g_object_class_install_properties (object_class, LAST_PROP, props);
 
index 37ceab7e3f1ddb289b1cb0ad97e2ec8a2a8fc505..a85e1e6d8ad435ea26a6ed5b5fd16fc9815183a3 100644 (file)
@@ -129,8 +129,8 @@ gtk_inspector_recorder_row_class_init (GtkInspectorRecorderRowClass *klass)
   object_class->set_property = gtk_inspector_recorder_row_set_property;
   object_class->get_property = gtk_inspector_recorder_row_get_property;
 
-  props[PROP_SEQUENCE] = g_param_spec_pointer ("sequence", "", "", G_PARAM_READWRITE);
-  props[PROP_MATCH_SEQUENCE] = g_param_spec_pointer ("match-sequence", "", "", G_PARAM_READWRITE);
+  props[PROP_SEQUENCE] = g_param_spec_pointer ("sequence", NULL, NULL, G_PARAM_READWRITE);
+  props[PROP_MATCH_SEQUENCE] = g_param_spec_pointer ("match-sequence", NULL, NULL, G_PARAM_READWRITE);
 
   g_object_class_install_properties (object_class, LAST_PROP, props);
 
index b51e0aea45bd703e6f787902c1625c931e1e5107..85b6446ba6cd91ce5ec330cf05490172b040d473 100644 (file)
@@ -81,9 +81,7 @@ gtk_inspector_recording_class_init (GtkInspectorRecordingClass *klass)
   object_class->set_property = gtk_inspector_recording_set_property;
 
   props[PROP_TIMESTAMP] =
-    g_param_spec_int64 ("timestamp",
-                        "Timestamp",
-                        "Timestamp when this event was recorded",
+    g_param_spec_int64 ("timestamp", NULL, NULL,
                         G_MININT64, G_MAXINT64, 0,
                         G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
 
index e84668d1dcddaa48a5a23b8e245cc34be82b6377..c140f360b240214cca56735cfaa0ca82e54f14ad 100644 (file)
@@ -172,7 +172,7 @@ size_group_row_class_init (SizeGroupRowClass *class)
   widget_class->state_flags_changed = size_group_state_flags_changed;
 
   properties[PROP_WIDGET] =
-    g_param_spec_pointer ("widget", "Widget", "Widget", G_PARAM_READWRITE);
+    g_param_spec_pointer ("widget", NULL, NULL, G_PARAM_READWRITE);
 
   g_object_class_install_properties (object_class, LAST_PROPERTY, properties);
 
index 4b417cc2f890b7498ca541b8bde65fe4503340d2..71da17577b95bcd717d4956ef67e3478bee58775 100644 (file)
@@ -208,7 +208,7 @@ gtk_inspector_type_popover_class_init (GtkInspectorTypePopoverClass *klass)
   object_class->set_property = gtk_inspector_type_popover_set_property;
 
   g_object_class_install_property (object_class, PROP_TYPE,
-      g_param_spec_gtype ("type", "Type", "Type",
+      g_param_spec_gtype ("type", NULL, NULL,
                           G_TYPE_NONE, G_PARAM_READWRITE));
 
   gtk_widget_class_set_template_from_resource (widget_class, "/org/gtk/libgtk/inspector/type-info.ui");
index a950233424cfdba1f15f26df98869dd2eea4d699..35a90302f0985bbe72f8f7bc8af110674f1e9c07 100644 (file)
@@ -604,7 +604,7 @@ gtk_inspector_window_class_init (GtkInspectorWindowClass *klass)
   window_class->enable_debugging = gtk_inspector_window_enable_debugging;
 
   properties[PROP_INSPECTED_DISPLAY] =
-      g_param_spec_object ("inspected-display", "Inspected display", "Inspected display",
+      g_param_spec_object ("inspected-display", NULL, NULL,
                            GDK_TYPE_DISPLAY,
                            G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
   g_object_class_install_properties (object_class, NUM_PROPERTIES, properties);
index 529952fffc32691f781c2fa63b88524c36e877d8..62d93b6b5c32cbdb420537c3dd64fced5c65a7c3 100644 (file)
@@ -710,9 +710,7 @@ gtk_gst_sink_class_init (GtkGstSinkClass * klass)
    * The paintable that provides the picture for this sink.
    */
   properties[PROP_PAINTABLE] =
-    g_param_spec_object ("paintable",
-                         P_("paintable"),
-                         P_("Paintable providing the picture"),
+    g_param_spec_object ("paintable", NULL, NULL,
                          GTK_TYPE_GST_PAINTABLE,
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
@@ -722,9 +720,7 @@ gtk_gst_sink_class_init (GtkGstSinkClass * klass)
    * The #GdkGLContext to use for GL rendering.
    */
   properties[PROP_GL_CONTEXT] =
-    g_param_spec_object ("gl-context",
-                         P_("GL context"),
-                         P_("GL context to use for rendering"),
+    g_param_spec_object ("gl-context", NULL, NULL,
                          GDK_TYPE_GL_CONTEXT,
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
index 83d2b0aabdb30b4c97450405cade8636a7de8f09..461b923b0f2430fd3549accda54e85568673c89b 100644 (file)
@@ -89,9 +89,7 @@ gtk_printer_cups_class_init (GtkPrinterCupsClass *class)
 
   g_object_class_install_property (G_OBJECT_CLASS (class),
                                    PROP_PROFILE_TITLE,
-                                   g_param_spec_string ("profile-title",
-                                                        P_("Color Profile Title"),
-                                                        P_("The title of the color profile to use"),
+                                   g_param_spec_string ("profile-title", NULL, NULL,
                                                         "",
                                                         G_PARAM_READABLE));
 }