Changeset 3325 for trunk/jons-gtk2-gui
- Timestamp:
- 03/02/03 04:12:57 (6 years ago)
- Location:
- trunk/jons-gtk2-gui/src
- Files:
-
- 2 modified
-
utilities.cpp (modified) (1 diff)
-
utilities.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jons-gtk2-gui/src/utilities.cpp
r3307 r3325 68 68 } 69 69 70 std::string 71 entry_get_chars(GtkWidget *w) 72 { 73 char *et = gtk_editable_get_chars(GTK_EDITABLE(w), 0, -1); 74 if (et != NULL) { 75 std::string s(et); 76 g_free(et); 77 return s; 78 } 79 return std::string(); 80 } 81 -
trunk/jons-gtk2-gui/src/utilities.h
r3307 r3325 10 10 s_convert_to_utf8(const char *input_text, const char *input_enc = NULL); 11 11 12 std::string 13 entry_get_chars(GtkWidget *w); 14 12 15 #endif
