]> Pileus Git - ~andy/gtk/blobdiff - tests/testverticalcells.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / testverticalcells.c
index 627db457d2807bb20ee713d04b2e9fd1252d40d5..07cdd4ef98995172fee4bd71dae8ee969d0beab3 100644 (file)
@@ -16,9 +16,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"
@@ -129,6 +127,7 @@ static TreeEntry other_entries[] =
       99,
       NULL
     },
+    { 0, },
   };
 
 static TreeEntry add_entries[] =
@@ -342,7 +341,7 @@ main (gint argc, gchar **argv)
   gtk_orientable_set_orientation (GTK_ORIENTABLE (area), GTK_ORIENTATION_VERTICAL);
 
   renderer = gtk_cell_renderer_text_new ();
-  g_object_set (renderer, "ellipsize", PANGO_ELLIPSIZE_END, NULL);
+  g_object_set (renderer, "ellipsize", PANGO_ELLIPSIZE_END, "editable", TRUE, NULL);
   gtk_tree_view_column_pack_start (column, renderer, TRUE);
   gtk_tree_view_column_set_attributes (column, renderer,
                                       "text", DESCRIPTION_COLUMN,