new function. many functions adapted to use GScanner for scanning.

* gtk/gtkrc.h (gtk_rc_parse_string): new function.
        * gtk/gtkrc.c: many functions adapted to use GScanner for scanning.
        (gtk_rc_parse): use gtk_rc_parse_any for parsing.
        (gtk_rc_parse_string): new function to support parsing from
        strings, just calls gtk_rc_parse_any.
        (gtk_rc_parse_any): new function using GScanner as lexer.
-timj
This commit is contained in:
Tim Janik 1997-12-23 02:12:10 +00:00
parent e3956c289a
commit 2b2667e791
9 changed files with 575 additions and 660 deletions

View File

@ -1,3 +1,11 @@
Tue Dec 23 03:03:17 1997 Tim Janik <timj@psynet.net>
* gtk/gtkrc.h (gtk_rc_parse_string): new function.
* gtk/gtkrc.c: many functions adapted to use GScanner for scanning.
(gtk_rc_parse): use gtk_rc_parse_any for parsing.
(gtk_rc_parse_string): new function to support parsing from
strings, just calls gtk_rc_parse_any.
(gtk_rc_parse_any): new function using GScanner as lexer.
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>

View File

@ -1,3 +1,11 @@
Tue Dec 23 03:03:17 1997 Tim Janik <timj@psynet.net>
* gtk/gtkrc.h (gtk_rc_parse_string): new function.
* gtk/gtkrc.c: many functions adapted to use GScanner for scanning.
(gtk_rc_parse): use gtk_rc_parse_any for parsing.
(gtk_rc_parse_string): new function to support parsing from
strings, just calls gtk_rc_parse_any.
(gtk_rc_parse_any): new function using GScanner as lexer.
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>

View File

@ -1,3 +1,11 @@
Tue Dec 23 03:03:17 1997 Tim Janik <timj@psynet.net>
* gtk/gtkrc.h (gtk_rc_parse_string): new function.
* gtk/gtkrc.c: many functions adapted to use GScanner for scanning.
(gtk_rc_parse): use gtk_rc_parse_any for parsing.
(gtk_rc_parse_string): new function to support parsing from
strings, just calls gtk_rc_parse_any.
(gtk_rc_parse_any): new function using GScanner as lexer.
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>

View File

@ -1,3 +1,11 @@
Tue Dec 23 03:03:17 1997 Tim Janik <timj@psynet.net>
* gtk/gtkrc.h (gtk_rc_parse_string): new function.
* gtk/gtkrc.c: many functions adapted to use GScanner for scanning.
(gtk_rc_parse): use gtk_rc_parse_any for parsing.
(gtk_rc_parse_string): new function to support parsing from
strings, just calls gtk_rc_parse_any.
(gtk_rc_parse_any): new function using GScanner as lexer.
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>

View File

@ -1,3 +1,11 @@
Tue Dec 23 03:03:17 1997 Tim Janik <timj@psynet.net>
* gtk/gtkrc.h (gtk_rc_parse_string): new function.
* gtk/gtkrc.c: many functions adapted to use GScanner for scanning.
(gtk_rc_parse): use gtk_rc_parse_any for parsing.
(gtk_rc_parse_string): new function to support parsing from
strings, just calls gtk_rc_parse_any.
(gtk_rc_parse_any): new function using GScanner as lexer.
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>

View File

@ -1,3 +1,11 @@
Tue Dec 23 03:03:17 1997 Tim Janik <timj@psynet.net>
* gtk/gtkrc.h (gtk_rc_parse_string): new function.
* gtk/gtkrc.c: many functions adapted to use GScanner for scanning.
(gtk_rc_parse): use gtk_rc_parse_any for parsing.
(gtk_rc_parse_string): new function to support parsing from
strings, just calls gtk_rc_parse_any.
(gtk_rc_parse_any): new function using GScanner as lexer.
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>

View File

@ -1,3 +1,11 @@
Tue Dec 23 03:03:17 1997 Tim Janik <timj@psynet.net>
* gtk/gtkrc.h (gtk_rc_parse_string): new function.
* gtk/gtkrc.c: many functions adapted to use GScanner for scanning.
(gtk_rc_parse): use gtk_rc_parse_any for parsing.
(gtk_rc_parse_string): new function to support parsing from
strings, just calls gtk_rc_parse_any.
(gtk_rc_parse_any): new function using GScanner as lexer.
Thu Dec 18 23:46:11 CST 1997 Shawn T. Amundson <amundson@gimp.org>

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
@ -28,13 +28,14 @@ extern "C" {
#endif /* __cplusplus */
void gtk_rc_init (void);
void gtk_rc_parse (const char *filename);
GtkStyle* gtk_rc_get_style (GtkWidget *widget);
void gtk_rc_add_widget_name_style (GtkStyle *style,
const char *pattern);
void gtk_rc_add_widget_class_style (GtkStyle *style,
const char *pattern);
void gtk_rc_init (void);
void gtk_rc_parse (const gchar *filename);
void gtk_rc_parse_string (const gchar *rc_string);
GtkStyle* gtk_rc_get_style (GtkWidget *widget);
void gtk_rc_add_widget_name_style (GtkStyle *style,
const gchar *pattern);
void gtk_rc_add_widget_class_style (GtkStyle *style,
const gchar *pattern);
#ifdef __cplusplus