[gthumb] Removed some more unused functions
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gthumb] Removed some more unused functions
- Date: Wed, 22 Apr 2009 15:49:26 -0400 (EDT)
commit bccce947ea50b6ecafe63b1686775012b58bc556
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date: Wed Apr 22 15:49:06 2009 -0400
Removed some more unused functions
---
libgthumb/gtk-utils.c | 32 --------------------------------
libgthumb/gtk-utils.h | 4 ----
2 files changed, 0 insertions(+), 36 deletions(-)
diff --git a/libgthumb/gtk-utils.c b/libgthumb/gtk-utils.c
index 28101fe..789a200 100644
--- a/libgthumb/gtk-utils.c
+++ b/libgthumb/gtk-utils.c
@@ -715,22 +715,6 @@ _gtk_label_set_locale_text (GtkLabel *label,
}
-char *
-_gtk_label_get_locale_text (GtkLabel *label)
-{
- const char *utf8_text;
- char *text;
-
- utf8_text = gtk_label_get_text (label);
- if (utf8_text == NULL)
- return NULL;
-
- text = g_locale_from_utf8 (utf8_text, -1, NULL, NULL, NULL);
-
- return text;
-}
-
-
void
_gtk_entry_set_filename_text (GtkEntry *entry,
const char *text)
@@ -775,22 +759,6 @@ _gtk_label_set_filename_text (GtkLabel *label,
}
-char *
-_gtk_label_get_filename_text (GtkLabel *label)
-{
- const char *utf8_text;
- char *text;
-
- utf8_text = gtk_label_get_text (label);
- if (utf8_text == NULL)
- return NULL;
-
- text = gnome_vfs_escape_string (utf8_text);
-
- return text;
-}
-
-
void
_gtk_button_set_filename_label (GtkButton *button,
const char *text)
diff --git a/libgthumb/gtk-utils.h b/libgthumb/gtk-utils.h
index d4026d7..d0758b0 100644
--- a/libgthumb/gtk-utils.h
+++ b/libgthumb/gtk-utils.h
@@ -88,8 +88,6 @@ char * _gtk_entry_get_locale_text (GtkEntry *entry);
void _gtk_label_set_locale_text (GtkLabel *label,
const char *text);
-char * _gtk_label_get_locale_text (GtkLabel *label);
-
void _gtk_entry_set_filename_text (GtkEntry *entry,
const char *text);
@@ -98,8 +96,6 @@ char * _gtk_entry_get_filename_text (GtkEntry *entry);
void _gtk_label_set_filename_text (GtkLabel *label,
const char *text);
-char * _gtk_label_get_filename_text (GtkLabel *label);
-
void _gtk_button_set_filename_label (GtkButton *button,
const char *text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]