mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
build: Rename util.{c,h} to calls-util.{c,h}
"util" is a very generic name. This guards against accidentally including similarly named headers from elsewhere.
This commit is contained in:
parent
ba77fb8de4
commit
bb6b76107c
26 changed files with 25 additions and 25 deletions
|
@ -62,7 +62,7 @@
|
||||||
<chapter id="utils">
|
<chapter id="utils">
|
||||||
<title>Utilities</title>
|
<title>Utilities</title>
|
||||||
<xi:include href="xml/calls-log.xml"/>
|
<xi:include href="xml/calls-log.xml"/>
|
||||||
<xi:include href="xml/util.xml"/>
|
<xi:include href="xml/calls-util.xml"/>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
<chapter id="provider-abstraction">
|
<chapter id="provider-abstraction">
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include "calls-mm-call.h"
|
#include "calls-mm-call.h"
|
||||||
#include "calls-call.h"
|
#include "calls-call.h"
|
||||||
#include "calls-message-source.h"
|
#include "calls-message-source.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <libmm-glib/libmm-glib.h>
|
#include <libmm-glib/libmm-glib.h>
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "calls-provider.h"
|
#include "calls-provider.h"
|
||||||
#include "calls-ofono-origin.h"
|
#include "calls-ofono-origin.h"
|
||||||
#include "calls-message-source.h"
|
#include "calls-message-source.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <libgdbofono/gdbo-manager.h>
|
#include <libgdbofono/gdbo-manager.h>
|
||||||
#include <libgdbofono/gdbo-modem.h>
|
#include <libgdbofono/gdbo-modem.h>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "calls-sip-media-manager.h"
|
#include "calls-sip-media-manager.h"
|
||||||
#include "calls-sip-media-pipeline.h"
|
#include "calls-sip-media-pipeline.h"
|
||||||
#include "calls-sip-util.h"
|
#include "calls-sip-util.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "calls-sip-media-pipeline.h"
|
#include "calls-sip-media-pipeline.h"
|
||||||
#include "calls-srtp-utils.h"
|
#include "calls-srtp-utils.h"
|
||||||
#include "gst-rfc3551.h"
|
#include "gst-rfc3551.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "calls-media-pipeline-enums.h"
|
#include "calls-media-pipeline-enums.h"
|
||||||
#include "calls-sip-media-pipeline.h"
|
#include "calls-sip-media-pipeline.h"
|
||||||
#include "calls-srtp-utils.h"
|
#include "calls-srtp-utils.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <glib-unix.h>
|
#include <glib-unix.h>
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "calls-srtp-utils.h"
|
#include "calls-srtp-utils.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
#include <sys/random.h>
|
#include <sys/random.h>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#include "calls-contacts-provider.h"
|
#include "calls-contacts-provider.h"
|
||||||
#include "calls-manager.h"
|
#include "calls-manager.h"
|
||||||
#include "calls-vala.h"
|
#include "calls-vala.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#include "calls-best-match.h"
|
#include "calls-best-match.h"
|
||||||
#include "calls-contacts-provider.h"
|
#include "calls-contacts-provider.h"
|
||||||
#include "calls-manager.h"
|
#include "calls-manager.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#include "calls-call-selector-item.h"
|
#include "calls-call-selector-item.h"
|
||||||
#include "calls-call.h"
|
#include "calls-call.h"
|
||||||
#include "calls-ui-call-data.h"
|
#include "calls-ui-call-data.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include "calls-in-app-notification.h"
|
#include "calls-in-app-notification.h"
|
||||||
#include "calls-manager.h"
|
#include "calls-manager.h"
|
||||||
#include "calls-ui-call-data.h"
|
#include "calls-ui-call-data.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#include "calls-call.h"
|
#include "calls-call.h"
|
||||||
#include "calls-message-source.h"
|
#include "calls-message-source.h"
|
||||||
#include "enum-types.h"
|
#include "enum-types.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "calls-contacts-provider.h"
|
#include "calls-contacts-provider.h"
|
||||||
#include "calls-best-match.h"
|
#include "calls-best-match.h"
|
||||||
#include "calls-settings.h"
|
#include "calls-settings.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <gee-0.8/gee.h>
|
#include <gee-0.8/gee.h>
|
||||||
#include <folks/folks.h>
|
#include <folks/folks.h>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include "calls-dbus-manager.h"
|
#include "calls-dbus-manager.h"
|
||||||
#include "calls-manager.h"
|
#include "calls-manager.h"
|
||||||
#include "calls-ui-call-data.h"
|
#include "calls-ui-call-data.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:calls-dbus-manager
|
* SECTION:calls-dbus-manager
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "calls-call-record.h"
|
#include "calls-call-record.h"
|
||||||
#include "calls-call-record-row.h"
|
#include "calls-call-record-row.h"
|
||||||
#include "gtklistmodels/gtkmodels.h"
|
#include "gtklistmodels/gtkmodels.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
#include "calls-in-app-notification.h"
|
#include "calls-in-app-notification.h"
|
||||||
#include "calls-manager.h"
|
#include "calls-manager.h"
|
||||||
#include "calls-config.h"
|
#include "calls-config.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
#include "calls-settings.h"
|
#include "calls-settings.h"
|
||||||
#include "calls-ui-call-data.h"
|
#include "calls-ui-call-data.h"
|
||||||
#include "calls-ussd.h"
|
#include "calls-ussd.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include "enum-types.h"
|
#include "enum-types.h"
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "calls-new-call-box.h"
|
#include "calls-new-call-box.h"
|
||||||
#include "calls-settings.h"
|
#include "calls-settings.h"
|
||||||
#include "calls-ussd.h"
|
#include "calls-ussd.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <call-ui.h>
|
#include <call-ui.h>
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
#include "calls-manager.h"
|
#include "calls-manager.h"
|
||||||
#include "calls-notifier.h"
|
#include "calls-notifier.h"
|
||||||
#include "calls-ui-call-data.h"
|
#include "calls-ui-call-data.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <cui-call.h>
|
#include <cui-call.h>
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#include "calls-origin.h"
|
#include "calls-origin.h"
|
||||||
#include "calls-message-source.h"
|
#include "calls-message-source.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:calls-origin
|
* SECTION:calls-origin
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "calls-origin.h"
|
#include "calls-origin.h"
|
||||||
#include "calls-message-source.h"
|
#include "calls-message-source.h"
|
||||||
#include "calls-config.h"
|
#include "calls-config.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <libpeas/peas.h>
|
#include <libpeas/peas.h>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#include "calls-ussd.h"
|
#include "calls-ussd.h"
|
||||||
#include "enum-types.h"
|
#include "enum-types.h"
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:calls-ussd
|
* SECTION:calls-ussd
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
|
@ -118,7 +118,7 @@ calls_sources = files([
|
||||||
'calls-settings.c', 'calls-settings.h',
|
'calls-settings.c', 'calls-settings.h',
|
||||||
'calls-ui-call-data.c', 'calls-ui-call-data.h',
|
'calls-ui-call-data.c', 'calls-ui-call-data.h',
|
||||||
'calls-ussd.c', 'calls-ussd.h',
|
'calls-ussd.c', 'calls-ussd.h',
|
||||||
'util.c', 'util.h',
|
'calls-util.c', 'calls-util.h',
|
||||||
]) + calls_generated_sources + gtklistmodel_sources
|
]) + calls_generated_sources + gtklistmodel_sources
|
||||||
|
|
||||||
calls_config_data = config_data
|
calls_config_data = config_data
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Author: Evangelos Ribeiro Tzaras <evangelos.tzaras@puri.sm>
|
* Author: Evangelos Ribeiro Tzaras <evangelos.tzaras@puri.sm>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "util.h"
|
#include "calls-util.h"
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue