clutter: Drop remaining params nick/blurbs

Also the i18n macros from clutter as they are no longer used

Leftover from https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3101

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3437>
This commit is contained in:
Bilal Elmoussaoui 2023-12-02 10:15:38 +01:00 committed by Marge Bot
parent 3f09a86e7a
commit 4b7a29377b
2 changed files with 1 additions and 7 deletions

View File

@ -74,10 +74,6 @@ typedef struct _ClutterContext ClutterContext;
/* automagic interning of a static string */
#define I_(str) (g_intern_static_string ((str)))
/* keep this for source compatibility with clutter */
#define P_(String) (String)
#define N_(String) (String)
/* This is a replacement for the nearbyint function which always rounds to the
* nearest integer. nearbyint is apparently a C99 function so it might not
* always be available but also it seems in glibc it is defined as a function

View File

@ -308,9 +308,7 @@ clutter_seat_class_init (ClutterSeatClass *klass)
* The name of the seat.
**/
props[PROP_NAME] =
g_param_spec_string ("name",
P_("Seat name"),
P_("Seat name"),
g_param_spec_string ("name", NULL, NULL,
NULL,
G_PARAM_STATIC_STRINGS |
G_PARAM_READWRITE |