[balsa/wip/gtk4: 272/351] Remove clip from size-allocate vfunc



commit e77de196018a2882bca868def4c66d6884262fc8
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sat Apr 7 17:01:49 2018 -0400

    Remove clip from size-allocate vfunc
    
    GtkAllocation *out_clip is no longer an argument of the size-allocate
    vfunc.

 libbalsa/source-viewer.c        |    3 +--
 src/balsa-index.c               |    4 +---
 src/balsa-mblist.c              |    9 +++------
 src/balsa-mime-widget-message.c |    3 +--
 4 files changed, 6 insertions(+), 13 deletions(-)
---
diff --git a/libbalsa/source-viewer.c b/libbalsa/source-viewer.c
index de4e84f..c674a1c 100644
--- a/libbalsa/source-viewer.c
+++ b/libbalsa/source-viewer.c
@@ -172,8 +172,7 @@ lsv_window_destroy_notify(LibBalsaSourceViewerInfo * lsvi)
 
 static void
 lsv_size_allocate_cb(GtkWidget * window, GtkAllocation * alloc,
-                     gint baseline, GtkAllocation * clip,
-                     LibBalsaSourceViewerInfo * lsvi)
+                     gint baseline, LibBalsaSourceViewerInfo * lsvi)
 {
     GdkSurface *surface;
     gboolean maximized;
diff --git a/src/balsa-index.c b/src/balsa-index.c
index e571803..bd78bc5 100644
--- a/src/balsa-index.c
+++ b/src/balsa-index.c
@@ -92,7 +92,6 @@ static void bndx_row_activated(GtkTreeView * tree_view, GtkTreePath * path,
 static void bndx_column_resize(GtkWidget     * widget,
                                GtkAllocation * allocation,
                                gint            baseline,
-                               GtkAllocation * clip,
                                gpointer        user_data);
 static void bndx_tree_expand_cb(GtkTreeView * tree_view,
                                 GtkTreeIter * iter, GtkTreePath * path,
@@ -756,8 +755,7 @@ bndx_tree_collapse_cb(GtkTreeView * tree_view, GtkTreeIter * iter,
 /* When a column is resized, store the new size for later use */
 static void
 bndx_column_resize(GtkWidget * widget, GtkAllocation * allocation,
-                   gint baseline, GtkAllocation * clip,
-                   gpointer user_data)
+                   gint baseline, gpointer user_data)
 {
     GtkTreeView *tree_view = GTK_TREE_VIEW(widget);
 
diff --git a/src/balsa-mblist.c b/src/balsa-mblist.c
index db71f19..e9a164a 100644
--- a/src/balsa-mblist.c
+++ b/src/balsa-mblist.c
@@ -107,8 +107,7 @@ static gint bmbl_row_compare(GtkTreeModel * model,
                              GtkTreeIter * iter1,
                              GtkTreeIter * iter2, gpointer data);
 static void bmbl_column_resize(GtkWidget * widget, GtkAllocation * allocation,
-                               gint baseline, GtkAllocation * clip,
-                               gpointer data);
+                               gint baseline, gpointer data);
 static void bmbl_drag_cb(GtkWidget        * widget,
                          GdkDragContext   * context,
                          gint               x,
@@ -765,8 +764,7 @@ bmbl_do_popup(GtkTreeView * tree_view, GtkTreePath * path,
  * */
 static void
 bmbl_column_resize(GtkWidget * widget, GtkAllocation * allocation,
-                   gint baseline, GtkAllocation * clip,
-                   gpointer data)
+                   gint baseline, gpointer data)
 {
     GtkTreeView *tree_view = GTK_TREE_VIEW(widget);
     gint name_width =
@@ -1750,8 +1748,7 @@ bmbl_mru_activate_cb(GtkWidget * item, gpointer data)
  */
 static void
 bmbl_mru_size_allocate_cb(GtkWidget * widget, GdkRectangle * allocation,
-                          gint baseline, GtkAllocation * clip,
-                          gpointer user_data)
+                          gint baseline, gpointer user_data)
 {
     GdkSurface *surface;
     gboolean maximized;
diff --git a/src/balsa-mime-widget-message.c b/src/balsa-mime-widget-message.c
index a4a16f9..f1256b0 100644
--- a/src/balsa-mime-widget-message.c
+++ b/src/balsa-mime-widget-message.c
@@ -540,8 +540,7 @@ bm_header_widget_new(BalsaMessage * bm, GtkWidget * const * buttons)
 
 static gboolean
 label_size_allocate_cb(GtkLabel * label, GdkRectangle * rectangle,
-                       gint baseline, GdkRectangle * clip,
-                       GtkWidget * expander)
+                       gint baseline, GtkWidget * expander)
 {
     PangoLayout *layout;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]