[gnome-shell] shell-util: Remove shell_breakpoint
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] shell-util: Remove shell_breakpoint
- Date: Fri, 3 Feb 2012 19:31:32 +0000 (UTC)
commit 458b0b22fc97b7906e572f1059763f25549ecffc
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Feb 3 14:20:40 2012 -0500
shell-util: Remove shell_breakpoint
A near identical function appears in gjs, in the "system" module:
const System = imports.system;
System.breakpoint();
src/shell-util.c | 12 ------------
src/shell-util.h | 2 --
2 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/shell-util.c b/src/shell-util.c
index 0f5e164..27b2217 100644
--- a/src/shell-util.c
+++ b/src/shell-util.c
@@ -679,18 +679,6 @@ shell_get_file_contents_utf8_sync (const char *path,
}
/**
- * shell_breakpoint:
- *
- * Using G_BREAKPOINT(), interrupt the current process. This is useful
- * in conjunction with a debugger such as gdb.
- */
-void
-shell_breakpoint (void)
-{
- G_BREAKPOINT ();
-}
-
-/**
* shell_parse_search_provider:
* @data: description of provider
* @name: (out): location to store a display name
diff --git a/src/shell-util.h b/src/shell-util.h
index b0752ae..8a8e5b9 100644
--- a/src/shell-util.h
+++ b/src/shell-util.h
@@ -39,8 +39,6 @@ gboolean shell_write_string_to_stream (GOutputStream *stream,
char *shell_get_file_contents_utf8_sync (const char *path,
GError **error);
-void shell_breakpoint (void);
-
gboolean shell_parse_search_provider (const char *data,
char **name,
char **url,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]