mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This
Fri Jan 21 16:16:29 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc take a const string argument like GtkTranslateFunc. This will require changes in use code.
This commit is contained in:
parent
5d9b2ed63f
commit
997868b7e2
@ -1,3 +1,9 @@
|
||||
Fri Jan 21 16:16:29 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc
|
||||
take a const string argument like GtkTranslateFunc. This will
|
||||
require changes in use code.
|
||||
|
||||
2000-01-19 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_clear_area): The correct
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Jan 21 16:16:29 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc
|
||||
take a const string argument like GtkTranslateFunc. This will
|
||||
require changes in use code.
|
||||
|
||||
2000-01-19 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_clear_area): The correct
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Jan 21 16:16:29 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc
|
||||
take a const string argument like GtkTranslateFunc. This will
|
||||
require changes in use code.
|
||||
|
||||
2000-01-19 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_clear_area): The correct
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Jan 21 16:16:29 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc
|
||||
take a const string argument like GtkTranslateFunc. This will
|
||||
require changes in use code.
|
||||
|
||||
2000-01-19 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_clear_area): The correct
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Jan 21 16:16:29 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc
|
||||
take a const string argument like GtkTranslateFunc. This will
|
||||
require changes in use code.
|
||||
|
||||
2000-01-19 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_clear_area): The correct
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Jan 21 16:16:29 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc
|
||||
take a const string argument like GtkTranslateFunc. This will
|
||||
require changes in use code.
|
||||
|
||||
2000-01-19 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_clear_area): The correct
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Jan 21 16:16:29 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkitemfactory.[ch] docs/Changes-1.4.txt: Make GtkPrintFunc
|
||||
take a const string argument like GtkTranslateFunc. This will
|
||||
require changes in use code.
|
||||
|
||||
2000-01-19 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_clear_area): The correct
|
||||
|
@ -4,4 +4,6 @@ Incompatible Changes from GTK+-1.2 to GTK+-1.4:
|
||||
has been unused since the main loop was moved into GLib
|
||||
prior to 1.2.
|
||||
|
||||
|
||||
- The signature for GtkPrintFunc (used for gtk_item_factory_dump_items)
|
||||
has been changed to take a 'const gchar *' instead of 'gchar *', to
|
||||
match what we do for glib, and other similar cases.
|
||||
|
@ -778,8 +778,8 @@ gtk_item_factory_dump_items (GtkPatternSpec *path_pspec,
|
||||
}
|
||||
|
||||
void
|
||||
gtk_item_factory_print_func (gpointer FILE_pointer,
|
||||
gchar *string)
|
||||
gtk_item_factory_print_func (gpointer FILE_pointer,
|
||||
const gchar *string)
|
||||
{
|
||||
FILE *f_out = FILE_pointer;
|
||||
|
||||
|
@ -42,7 +42,7 @@ extern "C" {
|
||||
|
||||
|
||||
typedef void (*GtkPrintFunc) (gpointer func_data,
|
||||
gchar *str);
|
||||
const gchar *str);
|
||||
typedef gchar * (*GtkTranslateFunc) (const gchar *path,
|
||||
gpointer func_data);
|
||||
typedef void (*GtkItemFactoryCallback) ();
|
||||
@ -172,7 +172,7 @@ void gtk_item_factory_dump_rc (const gchar *file_name,
|
||||
GtkPatternSpec *path_pspec,
|
||||
gboolean modified_only);
|
||||
void gtk_item_factory_print_func (gpointer FILE_pointer,
|
||||
gchar *string);
|
||||
const gchar *string);
|
||||
void gtk_item_factory_create_item (GtkItemFactory *ifactory,
|
||||
GtkItemFactoryEntry *entry,
|
||||
gpointer callback_data,
|
||||
|
Loading…
Reference in New Issue
Block a user