]> Pileus Git - ~andy/gtk/blobdiff - tests/testtreesort.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / testtreesort.c
index 0d90c55269cc59d442e29f79de58ed6b03bd5b3d..b45ede02dcf08d9ed3627da7a7da4100b0162219 100644 (file)
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include "config.h"
 #include <gtk/gtk.h>
 
-#include "gtk/gtktreedatalist.h"
-
 
 typedef struct _ListSort ListSort;
 struct _ListSort
@@ -125,7 +121,7 @@ main (int argc, char *argv[])
   window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
   gtk_window_set_title (GTK_WINDOW (window), "Words, words, words - Window 1");
   g_signal_connect (window, "destroy", gtk_main_quit, NULL);
-  vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 8);
+  vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
   gtk_container_set_border_width (GTK_CONTAINER (vbox), 8);
   gtk_box_pack_start (GTK_BOX (vbox), gtk_label_new ("Jonathan and Kristian's list of cool words. (And Anders' cool list of numbers) \n\nThis is just a GtkTreeStore"), FALSE, FALSE, 0);
   gtk_container_add (GTK_CONTAINER (window), vbox);
@@ -255,7 +251,7 @@ main (int argc, char *argv[])
       gtk_window_set_title (GTK_WINDOW (window2), 
                            "Words, words, words - window 2");
       g_signal_connect (window2, "destroy", gtk_main_quit, NULL);
-      vbox2 = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 8);
+      vbox2 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
       gtk_container_set_border_width (GTK_CONTAINER (vbox2), 8);
       gtk_box_pack_start (GTK_BOX (vbox2), 
                          gtk_label_new ("Jonathan and Kristian's list of words.\n\nA GtkTreeModelSort wrapping the GtkTreeStore of window 1"),
@@ -327,7 +323,7 @@ main (int argc, char *argv[])
       gtk_window_set_title (GTK_WINDOW (window3), 
                            "Words, words, words - Window 3");
       g_signal_connect (window3, "destroy", gtk_main_quit, NULL);
-      vbox3 = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 8);
+      vbox3 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
       gtk_container_set_border_width (GTK_CONTAINER (vbox3), 8);
       gtk_box_pack_start (GTK_BOX (vbox3), 
                          gtk_label_new ("Jonathan and Kristian's list of words.\n\nA GtkTreeModelSort wrapping the GtkTreeModelSort of window 2"),