[ekiga/v4_0] Get rid of some unused #include
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/v4_0] Get rid of some unused #include
- Date: Mon, 18 Feb 2013 20:11:42 +0000 (UTC)
commit e60e88e87d4a27dbdc631d0696e1ae366a0ff102
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Mon Jan 14 11:00:37 2013 +0100
Get rid of some unused #include
lib/engine/gui/gtk-core/codecsbox.cpp | 15 ++++++---------
lib/engine/gui/gtk-core/form-dialog-gtk.cpp | 3 ---
lib/engine/protocol/codec-description.cpp | 2 --
3 files changed, 6 insertions(+), 14 deletions(-)
---
diff --git a/lib/engine/gui/gtk-core/codecsbox.cpp b/lib/engine/gui/gtk-core/codecsbox.cpp
index fdf3a1e..160aad6 100644
--- a/lib/engine/gui/gtk-core/codecsbox.cpp
+++ b/lib/engine/gui/gtk-core/codecsbox.cpp
@@ -30,7 +30,7 @@
* codecsbox.c - description
* -------------------------------
* begin : Sat Sep 2 2006
- * copyright : (C) 2000-2006 by Damien Sandras
+ * copyright : (C) 2000-2006 by Damien Sandras
* description : Contains a codecs box widget
*
*/
@@ -40,15 +40,12 @@
#include "gmconf.h"
#include "codec-description.h"
-#include <cstdlib>
-#include <cstring>
-#include <sstream>
/* Columns for the codecs page */
enum {
COLUMN_CODEC_ACTIVE,
- COLUMN_CODEC_NAME,
+ COLUMN_CODEC_NAME,
COLUMN_CODEC_CLOCKRATE,
COLUMN_CODEC_PROTOCOLS,
COLUMN_CODEC_CONFIG_NAME,
@@ -77,7 +74,7 @@ static void codec_toggled_cb (GtkCellRendererToggle *cell,
gchar *path_str,
gpointer data);
-static void codec_moved_cb (GtkWidget *widget,
+static void codec_moved_cb (GtkWidget *widget,
gpointer data);
static GSList *codecs_box_to_gm_conf_list (CodecsBox *self);
@@ -98,7 +95,7 @@ static void codecs_box_set_property (GObject *obj,
const GValue *value,
GParamSpec *spec);
-static void
+static void
codecs_box_set_codecs (CodecsBox *self,
GSList *list)
{
@@ -118,9 +115,9 @@ codecs_box_set_codecs (CodecsBox *self,
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (self->priv->codecs_list));
- if (gtk_tree_selection_get_selected (selection, &model, &iter))
+ if (gtk_tree_selection_get_selected (selection, &model, &iter))
gtk_tree_model_get (GTK_TREE_MODEL (model), &iter,
- COLUMN_CODEC_NAME, &selected_codec,
+ COLUMN_CODEC_NAME, &selected_codec,
COLUMN_CODEC_CLOCKRATE, &select_rate, -1);
gtk_list_store_clear (GTK_LIST_STORE (model));
diff --git a/lib/engine/gui/gtk-core/form-dialog-gtk.cpp b/lib/engine/gui/gtk-core/form-dialog-gtk.cpp
index 079c694..8c2320b 100644
--- a/lib/engine/gui/gtk-core/form-dialog-gtk.cpp
+++ b/lib/engine/gui/gtk-core/form-dialog-gtk.cpp
@@ -34,9 +34,6 @@
*/
-#include <algorithm>
-#include <cstring>
-#include <iostream>
#include <glib/gi18n.h>
#include "toolbox.h"
diff --git a/lib/engine/protocol/codec-description.cpp b/lib/engine/protocol/codec-description.cpp
index 108536d..6d8d098 100644
--- a/lib/engine/protocol/codec-description.cpp
+++ b/lib/engine/protocol/codec-description.cpp
@@ -34,8 +34,6 @@
*/
#include <cstdlib>
-#include <cstring>
-#include <iostream>
#include <sstream>
#include "codec-description.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]