[Spice-devel] [PATCH spice-gtk 04/34] widget: make clear gst_size_allocate() is static on definition

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Mon Jan 7 08:00:33 UTC 2019


From: Marc-André Lureau <marcandre.lureau at redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 src/spice-widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/spice-widget.c b/src/spice-widget.c
index 006dc5e..c71cc53 100644
--- a/src/spice-widget.c
+++ b/src/spice-widget.c
@@ -2609,7 +2609,7 @@ static gboolean gst_draw_event(GtkWidget *widget, cairo_t *cr, gpointer data)
     return false;
 }
 
-void gst_size_allocate(GtkWidget *widget, GdkRectangle *a, gpointer data)
+static void gst_size_allocate(GtkWidget *widget, GdkRectangle *a, gpointer data)
 {
     SpiceDisplay *display = SPICE_DISPLAY(data);
     SpiceDisplayPrivate *d = display->priv;
-- 
2.20.1.2.gb21ebb671b



More information about the Spice-devel mailing list