[nautilus-open-terminal] Really get rid of eel dependency
- From: Vincent Untz <vuntz src gnome org>
- To: svn-commits-list gnome org
- Subject: [nautilus-open-terminal] Really get rid of eel dependency
- Date: Thu, 28 May 2009 21:22:19 -0400 (EDT)
commit e192fac2b0c8b5b2425502bfc4647b1505f0da38
Author: Vincent Untz <vuntz gnome org>
Date: Fri May 29 03:20:47 2009 +0200
Really get rid of eel dependency
Up to now, an eel API was still used while the code to migrate it was
available.
---
src/eel-gnome-extensions.c | 2 +-
src/eel-gnome-extensions.h | 18 +++++++-----------
2 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/src/eel-gnome-extensions.c b/src/eel-gnome-extensions.c
index a6db181..1d966c8 100644
--- a/src/eel-gnome-extensions.c
+++ b/src/eel-gnome-extensions.c
@@ -192,5 +192,5 @@ _not_eel_gnome_open_terminal_on_screen (const char *command,
void
_not_eel_gnome_open_terminal (const char *command)
{
- eel_gnome_open_terminal_on_screen (command, NULL);
+ _not_eel_gnome_open_terminal_on_screen (command, NULL);
}
diff --git a/src/eel-gnome-extensions.h b/src/eel-gnome-extensions.h
index aea54f0..4af82b7 100644
--- a/src/eel-gnome-extensions.h
+++ b/src/eel-gnome-extensions.h
@@ -24,21 +24,17 @@
Authors: Darin Adler <darin eazel com>
*/
-#ifndef EEL_GNOME_EXTENSIONS_H
-#define EEL_GNOME_EXTENSIONS_H
+#ifndef _NOT_EEL_GNOME_EXTENSIONS_H
+#define _NOT_EEL_GNOME_EXTENSIONS_H
#include <gtk/gtk.h>
-/* icon selection callback function. */
-typedef void (* EelIconSelectionFunction) (const char *icon_path, gpointer callback_data);
-
-
/* Return a command string containing the path to a terminal on this system. */
-char * eel_gnome_make_terminal_command (const char *command);
+char * _not_eel_gnome_make_terminal_command (const char *command);
/* Open up a new terminal, optionally passing in a command to execute */
-void eel_gnome_open_terminal (const char *command);
-void eel_gnome_open_terminal_on_screen (const char *command,
- GdkScreen *screen);
+void _not_eel_gnome_open_terminal (const char *command);
+void _not_eel_gnome_open_terminal_on_screen (const char *command,
+ GdkScreen *screen);
-#endif /* EEL_GNOME_EXTENSIONS_H */
+#endif /* _NOT_EEL_GNOME_EXTENSIONS_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]