initialize anchor_path to NULL.

Tue Nov 19 17:01:40 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
        initialize anchor_path to NULL.

        * examples/buttonbox/buttonbox.c: remove useless static qualifier.
This commit is contained in:
Manish Singh 2002-11-20 01:05:26 +00:00 committed by Manish Singh
parent fccd38337e
commit 3e8866a488
8 changed files with 44 additions and 2 deletions

View File

@ -1,3 +1,10 @@
Tue Nov 19 17:01:40 2002 Manish Singh <yosh@gimp.org>
* gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
initialize anchor_path to NULL.
* examples/buttonbox/buttonbox.c: remove useless static qualifier.
2002-11-19 Matthias Clasen <maclas@gmx.de>
* tests/testgtk.c (do_bench):

View File

@ -1,3 +1,10 @@
Tue Nov 19 17:01:40 2002 Manish Singh <yosh@gimp.org>
* gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
initialize anchor_path to NULL.
* examples/buttonbox/buttonbox.c: remove useless static qualifier.
2002-11-19 Matthias Clasen <maclas@gmx.de>
* tests/testgtk.c (do_bench):

View File

@ -1,3 +1,10 @@
Tue Nov 19 17:01:40 2002 Manish Singh <yosh@gimp.org>
* gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
initialize anchor_path to NULL.
* examples/buttonbox/buttonbox.c: remove useless static qualifier.
2002-11-19 Matthias Clasen <maclas@gmx.de>
* tests/testgtk.c (do_bench):

View File

@ -1,3 +1,10 @@
Tue Nov 19 17:01:40 2002 Manish Singh <yosh@gimp.org>
* gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
initialize anchor_path to NULL.
* examples/buttonbox/buttonbox.c: remove useless static qualifier.
2002-11-19 Matthias Clasen <maclas@gmx.de>
* tests/testgtk.c (do_bench):

View File

@ -1,3 +1,10 @@
Tue Nov 19 17:01:40 2002 Manish Singh <yosh@gimp.org>
* gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
initialize anchor_path to NULL.
* examples/buttonbox/buttonbox.c: remove useless static qualifier.
2002-11-19 Matthias Clasen <maclas@gmx.de>
* tests/testgtk.c (do_bench):

View File

@ -1,3 +1,10 @@
Tue Nov 19 17:01:40 2002 Manish Singh <yosh@gimp.org>
* gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
initialize anchor_path to NULL.
* examples/buttonbox/buttonbox.c: remove useless static qualifier.
2002-11-19 Matthias Clasen <maclas@gmx.de>
* tests/testgtk.c (do_bench):

View File

@ -43,7 +43,7 @@ GtkWidget *create_bbox( gint horizontal,
int main( int argc,
char *argv[] )
{
static GtkWidget* window = NULL;
GtkWidget *window;
GtkWidget *main_vbox;
GtkWidget *vbox;
GtkWidget *hbox;

View File

@ -1147,7 +1147,7 @@ gtk_tree_selection_real_modify_range (GtkTreeSelection *selection,
{
GtkRBNode *start_node, *end_node;
GtkRBTree *start_tree, *end_tree;
GtkTreePath *anchor_path;
GtkTreePath *anchor_path = NULL;
gboolean dirty = FALSE;
switch (gtk_tree_path_compare (start_path, end_path))