From 25376b3b3c11d4c9b2bf79110ebea669c224e1aa Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sun, 30 Jun 2019 17:20:41 -0300 Subject: [PATCH] clutter/main: Remove clutter_get_show_fps https://gitlab.gnome.org/GNOME/mutter/merge_requests/666 --- clutter/clutter/clutter-main.c | 22 ---------------------- clutter/clutter/deprecated/clutter-main.h | 3 --- 2 files changed, 25 deletions(-) diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c index 8107acc85..6b691b059 100644 --- a/clutter/clutter/clutter-main.c +++ b/clutter/clutter/clutter-main.c @@ -383,28 +383,6 @@ clutter_config_read (void) g_free (config_path); } -/** - * clutter_get_show_fps: - * - * Returns whether Clutter should print out the frames per second on the - * console. You can enable this setting either using the - * CLUTTER_SHOW_FPS environment variable or passing - * the --clutter-show-fps command line argument. * - * - * Return value: %TRUE if Clutter should show the FPS. - * - * Since: 0.4 - * - * Deprecated: 1.10: This function does not do anything. Use the environment - * variable or the configuration file to determine whether Clutter should - * print out the FPS counter on the console. - */ -gboolean -clutter_get_show_fps (void) -{ - return FALSE; -} - gboolean _clutter_context_get_show_fps (void) { diff --git a/clutter/clutter/deprecated/clutter-main.h b/clutter/clutter/deprecated/clutter-main.h index 0f294f5b6..e30b1afb7 100644 --- a/clutter/clutter/deprecated/clutter-main.h +++ b/clutter/clutter/deprecated/clutter-main.h @@ -59,9 +59,6 @@ gulong clutter_get_timestamp (void); CLUTTER_DEPRECATED gboolean clutter_get_debug_enabled (void); -CLUTTER_DEPRECATED -gboolean clutter_get_show_fps (void); - G_END_DECLS #endif /* __CLUTTER_MAIN_DEPRECATED_H__ */