[libgda] Removed compilation warnings for some deprecated symbols



commit 95257ed3506be9fd21ed7794ed5c76bbe7129408
Author: Vivien Malerba <malerba gnome-db org>
Date:   Thu Nov 27 18:45:28 2014 +0100

    Removed compilation warnings for some deprecated symbols

 libgda-ui/gdaui-data-proxy-info.c  |    3 ++-
 libgda-ui/gdaui-data-proxy.c       |    3 ++-
 libgda-ui/gdaui-raw-form.c         |    1 +
 libgda-ui/gdaui-raw-grid.c         |    1 +
 libgda-ui/gdaui-rt-editor.c        |    1 +
 libgda-ui/gdaui-server-operation.c |    1 +
 6 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/libgda-ui/gdaui-data-proxy-info.c b/libgda-ui/gdaui-data-proxy-info.c
index c4b02e7..643800c 100644
--- a/libgda-ui/gdaui-data-proxy-info.c
+++ b/libgda-ui/gdaui-data-proxy-info.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009 - 2011 Vivien Malerba <malerba gnome-db org>
+ * Copyright (C) 2009 - 2014 Vivien Malerba <malerba gnome-db org>
  * Copyright (C) 2010 David King <davidk openismus com>
  * Copyright (C) 2011 Murray Cumming <murrayc murrayc com>
  *
@@ -27,6 +27,7 @@
 #include "gdaui-raw-grid.h"
 #include "gdaui-data-proxy-info.h"
 #include "gdaui-enum-types.h"
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 
 static void gdaui_data_proxy_info_class_init (GdauiDataProxyInfoClass * class);
 static void gdaui_data_proxy_info_init (GdauiDataProxyInfo *wid);
diff --git a/libgda-ui/gdaui-data-proxy.c b/libgda-ui/gdaui-data-proxy.c
index d2f2205..17c2dcf 100644
--- a/libgda-ui/gdaui-data-proxy.c
+++ b/libgda-ui/gdaui-data-proxy.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009 - 2011 Vivien Malerba <malerba gnome-db org>
+ * Copyright (C) 2009 - 2014 Vivien Malerba <malerba gnome-db org>
  * Copyright (C) 2010 David King <davidk openismus com>
  *
  * This library is free software; you can redistribute it and/or
@@ -25,6 +25,7 @@
 #include  <glib/gi18n-lib.h>
 #include <libgda-ui/gdaui-raw-form.h>
 #include <libgda-ui/gdaui-raw-grid.h>
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 
 /* signals */
 enum {
diff --git a/libgda-ui/gdaui-raw-form.c b/libgda-ui/gdaui-raw-form.c
index d1b92ec..e3dd6f5 100644
--- a/libgda-ui/gdaui-raw-form.c
+++ b/libgda-ui/gdaui-raw-form.c
@@ -33,6 +33,7 @@
 #include "internal/utility.h"
 #include "data-entries/gdaui-entry-shell.h"
 #include <libgda/gda-debug-macros.h>
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 
 static void gdaui_raw_form_class_init (GdauiRawFormClass * class);
 static void gdaui_raw_form_init (GdauiRawForm *wid);
diff --git a/libgda-ui/gdaui-raw-grid.c b/libgda-ui/gdaui-raw-grid.c
index 1fbf22f..786cc28 100644
--- a/libgda-ui/gdaui-raw-grid.c
+++ b/libgda-ui/gdaui-raw-grid.c
@@ -33,6 +33,7 @@
 #include <libgda/binreloc/gda-binreloc.h>
 #include <gtk/gtk.h>
 #include <libgda/gda-debug-macros.h>
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 
 static void gdaui_raw_grid_class_init (GdauiRawGridClass *klass);
 static void gdaui_raw_grid_init (GdauiRawGrid *wid);
diff --git a/libgda-ui/gdaui-rt-editor.c b/libgda-ui/gdaui-rt-editor.c
index 1ec6345..d4b63c0 100644
--- a/libgda-ui/gdaui-rt-editor.c
+++ b/libgda-ui/gdaui-rt-editor.c
@@ -26,6 +26,7 @@
 #define MAX_BULLETS 2
 //gchar * bullet_strings[] = {"•", "◦"};
 #include <libgda-ui.h>
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 
 GdkPixbuf *bullet_pix[MAX_BULLETS] = {NULL};
 gchar     *lists_tokens[MAX_BULLETS] = {"- ", " - "};
diff --git a/libgda-ui/gdaui-server-operation.c b/libgda-ui/gdaui-server-operation.c
index 7909f88..2512f1f 100644
--- a/libgda-ui/gdaui-server-operation.c
+++ b/libgda-ui/gdaui-server-operation.c
@@ -32,6 +32,7 @@
 #include "gdaui-data-selector.h"
 #include "gdaui-data-proxy-info.h"
 #include <libgda/gda-debug-macros.h>
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 
 static void gdaui_server_operation_class_init (GdauiServerOperationClass *class);
 static void gdaui_server_operation_init (GdauiServerOperation *wid);


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