[gnome-games] libgames-support: Remove unused games-profile.c
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] libgames-support: Remove unused games-profile.c
- Date: Sat, 31 Dec 2011 07:55:40 +0000 (UTC)
commit aabc8002f0b90b7f2cb55ecd9ae128bf99cecdf7
Author: Robert Ancell <robert ancell canonical com>
Date: Sat Dec 31 18:55:08 2011 +1100
libgames-support: Remove unused games-profile.c
libgames-support/Makefile.am | 2 -
libgames-support/games-preimage.c | 6 ---
libgames-support/games-profile.c | 64 -------------------------------------
libgames-support/games-profile.h | 54 -------------------------------
libgames-support/games-runtime.c | 5 ---
5 files changed, 0 insertions(+), 131 deletions(-)
---
diff --git a/libgames-support/Makefile.am b/libgames-support/Makefile.am
index 5b5b21e..d798478 100644
--- a/libgames-support/Makefile.am
+++ b/libgames-support/Makefile.am
@@ -17,8 +17,6 @@ libgames_support_la_SOURCES = \
games-debug.h \
games-help.c \
games-help.h \
- games-profile.c \
- games-profile.h \
games-runtime.c \
games-runtime.h \
games-show.c \
diff --git a/libgames-support/games-preimage.c b/libgames-support/games-preimage.c
index bad1771..f754d3b 100644
--- a/libgames-support/games-preimage.c
+++ b/libgames-support/games-preimage.c
@@ -35,7 +35,6 @@
#include <librsvg/rsvg-cairo.h>
#endif /* HAVE_RSVG */
-#include "games-profile.h"
#include "games-preimage.h"
#include "games-preimage-private.h"
@@ -346,8 +345,6 @@ games_preimage_new_from_file (const gchar * filename, GError ** error)
g_return_val_if_fail (filename != NULL, NULL);
- _games_profile_start ("creating GamesPreimage from %s", filename);
-
preimage = g_object_new (GAMES_TYPE_PREIMAGE, NULL);
#ifdef HAVE_RSVG
@@ -359,8 +356,6 @@ games_preimage_new_from_file (const gchar * filename, GError ** error)
rsvg_handle_get_dimensions (preimage->rsvg_handle, &data);
- _games_profile_end ("creating GamesPreimage from %s", filename);
-
if (data.width == 0 || data.height == 0) {
g_set_error (error,
GDK_PIXBUF_ERROR,
@@ -380,7 +375,6 @@ games_preimage_new_from_file (const gchar * filename, GError ** error)
preimage->scalable = FALSE;
pixbuf = gdk_pixbuf_new_from_file (filename, error);
- _games_profile_end ("creating GamesPreimage from %s", filename);
if (!pixbuf) {
g_object_unref (preimage);
diff --git a/libgames-support/games-runtime.c b/libgames-support/games-runtime.c
index 8a7a523..899a441 100644
--- a/libgames-support/games-runtime.c
+++ b/libgames-support/games-runtime.c
@@ -34,7 +34,6 @@
#include <gtk/gtk.h>
#include "games-debug.h"
-#include "games-profile.h"
#include "games-show.h"
#include "games-runtime.h"
@@ -307,8 +306,6 @@ games_runtime_init (const char *name)
#endif
/* May call any glib function after this point */
- _games_profile_start ("games_runtime_init");
-
_games_debug_init ();
app_name = g_strdup (name);
@@ -335,8 +332,6 @@ games_runtime_init (const char *name)
gpl_version = 2;
- _games_profile_end ("games_runtime_init");
-
return retval;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]