mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Don't use function calls in array initializers, as some compilers seem to
Sat Feb 7 01:21:09 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtktreemodel.c (gtk_tree_model_base_init): Don't use function calls in array initializers, as some compilers seem to hate this. (#133216, Jonas Jonsson)
This commit is contained in:
parent
c03700734e
commit
bc21e066d6
@ -1,3 +1,9 @@
|
|||||||
|
Sat Feb 7 01:21:09 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtktreemodel.c (gtk_tree_model_base_init): Don't use function
|
||||||
|
calls in array initializers, as some compilers seem to hate this.
|
||||||
|
(#133216, Jonas Jonsson)
|
||||||
|
|
||||||
Sat Feb 7 00:06:44 2004 Matthias Clasen <maclas@gmx.de>
|
Sat Feb 7 00:06:44 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
|
* gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Sat Feb 7 01:21:09 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtktreemodel.c (gtk_tree_model_base_init): Don't use function
|
||||||
|
calls in array initializers, as some compilers seem to hate this.
|
||||||
|
(#133216, Jonas Jonsson)
|
||||||
|
|
||||||
Sat Feb 7 00:06:44 2004 Matthias Clasen <maclas@gmx.de>
|
Sat Feb 7 00:06:44 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
|
* gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Sat Feb 7 01:21:09 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtktreemodel.c (gtk_tree_model_base_init): Don't use function
|
||||||
|
calls in array initializers, as some compilers seem to hate this.
|
||||||
|
(#133216, Jonas Jonsson)
|
||||||
|
|
||||||
Sat Feb 7 00:06:44 2004 Matthias Clasen <maclas@gmx.de>
|
Sat Feb 7 00:06:44 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
|
* gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Sat Feb 7 01:21:09 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtktreemodel.c (gtk_tree_model_base_init): Don't use function
|
||||||
|
calls in array initializers, as some compilers seem to hate this.
|
||||||
|
(#133216, Jonas Jonsson)
|
||||||
|
|
||||||
Sat Feb 7 00:06:44 2004 Matthias Clasen <maclas@gmx.de>
|
Sat Feb 7 00:06:44 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
|
* gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Sat Feb 7 01:21:09 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtktreemodel.c (gtk_tree_model_base_init): Don't use function
|
||||||
|
calls in array initializers, as some compilers seem to hate this.
|
||||||
|
(#133216, Jonas Jonsson)
|
||||||
|
|
||||||
Sat Feb 7 00:06:44 2004 Matthias Clasen <maclas@gmx.de>
|
Sat Feb 7 00:06:44 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
|
* gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
|
||||||
|
@ -130,11 +130,18 @@ gtk_tree_model_base_init (gpointer g_class)
|
|||||||
|
|
||||||
if (! initialized)
|
if (! initialized)
|
||||||
{
|
{
|
||||||
GType row_inserted_params[] = { GTK_TYPE_TREE_PATH, GTK_TYPE_TREE_ITER };
|
GType row_inserted_params[2];
|
||||||
GType row_deleted_params[] = { GTK_TYPE_TREE_PATH };
|
GType row_deleted_params[1];
|
||||||
GType rows_reordered_params[] = { GTK_TYPE_TREE_PATH,
|
GType rows_reordered_params[3];
|
||||||
GTK_TYPE_TREE_ITER,
|
|
||||||
G_TYPE_POINTER };
|
row_inserted_params[0] = GTK_TYPE_TREE_PATH;
|
||||||
|
row_inserted_params[1] = GTK_TYPE_TREE_ITER;
|
||||||
|
|
||||||
|
row_deleted_params[0] = GTK_TYPE_TREE_PATH;
|
||||||
|
|
||||||
|
rows_reordered_params[0] = GTK_TYPE_TREE_PATH;
|
||||||
|
rows_reordered_params[1] = GTK_TYPE_TREE_ITER;
|
||||||
|
rows_reordered_params[2] = G_TYPE_POINTER;
|
||||||
|
|
||||||
tree_model_signals[ROW_CHANGED] =
|
tree_model_signals[ROW_CHANGED] =
|
||||||
g_signal_new ("row_changed",
|
g_signal_new ("row_changed",
|
||||||
|
Loading…
Reference in New Issue
Block a user