]> Pileus Git - ~andy/gtk/blobdiff - tests/testentrycompletion.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / testentrycompletion.c
index 23789ea582defe04222cab3e53600e76338cb2f7..898b8d3bb18f9688950df4313e8399ec8cf54c44 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 "config.h"
@@ -301,7 +299,7 @@ add_with_prop_edit_button (GtkWidget *vbox, GtkWidget *entry, GtkEntryCompletion
 {
        GtkWidget *hbox, *button;
 
-       hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 12);
+       hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
        gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
 
        gtk_box_pack_start (GTK_BOX (hbox), entry, TRUE, TRUE, 0);
@@ -327,7 +325,7 @@ main (int argc, char *argv[])
   gtk_container_set_border_width (GTK_CONTAINER (window), 5);
   g_signal_connect (window, "delete_event", gtk_main_quit, NULL);
   
-  vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 2);
+  vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
   gtk_container_add (GTK_CONTAINER (window), vbox);
     
   gtk_container_set_border_width (GTK_CONTAINER (vbox), 5);