From 4b7a29377b19ff7d0dfee40b2dc03a6c6309a89a Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Sat, 2 Dec 2023 10:15:38 +0100 Subject: [PATCH] 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: --- clutter/clutter/clutter-private.h | 4 ---- clutter/clutter/clutter-seat.c | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/clutter/clutter/clutter-private.h b/clutter/clutter/clutter-private.h index da0b30163..827108766 100644 --- a/clutter/clutter/clutter-private.h +++ b/clutter/clutter/clutter-private.h @@ -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 diff --git a/clutter/clutter/clutter-seat.c b/clutter/clutter/clutter-seat.c index 6405f32dd..6cd9874c5 100644 --- a/clutter/clutter/clutter-seat.c +++ b/clutter/clutter/clutter-seat.c @@ -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 |