]> Pileus Git - ~andy/gtk/blobdiff - tests/cellareascaffold.c
Change FSF Address
[~andy/gtk] / tests / cellareascaffold.c
index b753ca9260994a8bd6624791c6501a9b95835688..4c76a04cb9011943c4fa09d95bf7f0e195c04f6a 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 <string.h>
@@ -337,8 +335,6 @@ cell_area_scaffold_realize (GtkWidget *widget)
 
   priv->event_window = gdk_window_new (window, &attributes, attributes_mask);
   gdk_window_set_user_data (priv->event_window, widget);
-
-  gtk_widget_style_attach (widget);
 }
 
 static void
@@ -686,7 +682,7 @@ cell_area_scaffold_focus (GtkWidget       *widget,
              else
                {
                  /* XXX A real implementation should check if the
-                  * previous row can focus with it's attributes setup */
+                  * previous row can focus with its attributes setup */
                  focus_row--;
                  valid = gtk_tree_model_iter_nth_child (priv->model, &iter, NULL, focus_row);
                }
@@ -698,7 +694,7 @@ cell_area_scaffold_focus (GtkWidget       *widget,
              else
                {
                  /* XXX A real implementation should check if the
-                  * previous row can focus with it's attributes setup */
+                  * previous row can focus with its attributes setup */
                  focus_row++;
                  valid = gtk_tree_model_iter_next (priv->model, &iter);
                }
@@ -848,7 +844,8 @@ cell_area_scaffold_activate (CellAreaScaffold *scaffold)
          cell_area.height = data->size;
 
          gtk_cell_area_apply_attributes (priv->area, priv->model, &iter, FALSE, FALSE);
-         gtk_cell_area_activate (priv->area, priv->context, widget, &cell_area, GTK_CELL_RENDERER_FOCUSED);
+         gtk_cell_area_activate (priv->area, priv->context, widget, &cell_area, 
+                                 GTK_CELL_RENDERER_FOCUSED, FALSE);
 
          break;
        }