]> Pileus Git - ~andy/gtk/blobdiff - tests/testgiconpixbuf.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / testgiconpixbuf.c
index 2972b26d09a676b50675f57daf4d4c8c23ad5563..184bbe3206cc04a2a18fa0859488e737ec592288 100644 (file)
@@ -13,9 +13,7 @@
  * 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 <gtk/gtk.h>
@@ -34,10 +32,10 @@ main (int argc,
 
   pixbuf = gdk_pixbuf_new_from_file ("apple-red.png", NULL);
   toplevel = gtk_window_new (GTK_WINDOW_TOPLEVEL);
-  hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12, FALSE);
+  hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
   gtk_container_add (GTK_CONTAINER (toplevel), hbox);
 
-  vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12, FALSE);
+  vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
   gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
 
   image = gtk_image_new_from_gicon (G_ICON (pixbuf), GTK_ICON_SIZE_DIALOG);
@@ -52,7 +50,7 @@ main (int argc,
   emblem = g_emblem_new (G_ICON (otherpix));
   emblemed = g_emblemed_icon_new (G_ICON (pixbuf), emblem);
 
-  vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12, FALSE);
+  vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
   gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
   
   image2 = gtk_image_new_from_gicon (emblemed, GTK_ICON_SIZE_DIALOG);