[Pkg-maemo-commits] r91 ./hildon-control-panel/ubuntu: * Remove definition of hcp_grid_size_request to make -Werror happy.
Tollef Fog Heen
tfheen at err.no
Fri Nov 30 15:17:22 UTC 2007
------------------------------------------------------------
revno: 91
committer: Tollef Fog Heen <tfheen at err.no>
branch nick: hildon-control-panel
timestamp: Wed 2007-08-22 09:00:31 +0200
message:
* Remove definition of hcp_grid_size_request to make -Werror happy.
modified:
debian/changelog
src/hcp-grid.c
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog 2007-08-22 06:58:31 +0000
+++ b/debian/changelog 2007-08-22 07:00:31 +0000
@@ -3,6 +3,7 @@
* Replace libhildon1-dev with libhildon-1-dev in Depends for
hildon-control-panel-dev.
* Add autoconf, automake to build-depends.
+ * Remove definition of hcp_grid_size_request to make -Werror happy.
-- Tollef Fog Heen <tfheen at ubuntu.com> Tue, 21 Aug 2007 12:12:02 +0200
=== modified file 'src/hcp-grid.c'
--- a/src/hcp-grid.c 2007-08-17 07:19:46 +0000
+++ b/src/hcp-grid.c 2007-08-22 07:00:31 +0000
@@ -434,30 +434,6 @@
}
static void
-hcp_grid_size_request (GtkWidget *widget, GtkRequisition *req)
-{
- HCPGridPrivate *priv;
- GtkTreeModel *store;
- gint num_items, num_rows;
-
- g_return_if_fail (widget);
- g_return_if_fail (HCP_IS_GRID (widget));
-
- priv = HCP_GRID (widget)->priv;
-
- store = gtk_icon_view_get_model (GTK_ICON_VIEW (widget));
-
- num_items = gtk_tree_model_iter_n_children (GTK_TREE_MODEL (store), NULL);
-
- num_rows = ceil ((double) num_items / HCP_GRID_NUM_COLUMNS);
-
- if (num_items > 0)
- {
- req->height = num_rows * priv->row_height;
- }
-}
-
-static void
hcp_grid_class_init (HCPGridClass *class)
{
GObjectClass *g_object_class = G_OBJECT_CLASS (class);
More information about the Pkg-maemo-commits
mailing list