Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
87a17f39
Commit
87a17f39
authored
Apr 10, 2008
by
Emmanuel Milou
Browse files
Compilation warnings removal ( from the client )
parent
4fda9653
Changes
8
Hide whitespace changes
Inline
Side-by-side
sflphone-gtk/src/SFLnotify.c
View file @
87a17f39
...
...
@@ -30,8 +30,8 @@ notify_incoming_call( call_t* c )
notify_init
(
"sflphone"
);
title
=
g_markup_printf_escaped
(
_
(
"%s account: %s"
)
,
g_hash_table_lookup
(
account_list_get_by_id
(
c
->
accountID
)
->
properties
,
ACCOUNT_TYPE
)
,
g_hash_table_lookup
(
account_list_get_by_id
(
c
->
accountID
)
->
properties
,
ACCOUNT_ALIAS
)
)
;
(
gchar
*
)
g_hash_table_lookup
(
account_list_get_by_id
(
c
->
accountID
)
->
properties
,
ACCOUNT_TYPE
)
,
(
gchar
*
)
g_hash_table_lookup
(
account_list_get_by_id
(
c
->
accountID
)
->
properties
,
ACCOUNT_ALIAS
)
)
;
callerid
=
g_markup_printf_escaped
(
_
(
"<i>From:</i> %s"
)
,
c
->
from
);
...
...
@@ -90,8 +90,8 @@ notify_voice_mails( guint count , account_t* acc )
notify_init
(
"sflphone"
);
title
=
g_markup_printf_escaped
(
_
(
"%s account: %s"
)
,
g_hash_table_lookup
(
acc
->
properties
,
ACCOUNT_TYPE
)
,
g_hash_table_lookup
(
acc
->
properties
,
ACCOUNT_ALIAS
)
)
;
(
gchar
*
)
g_hash_table_lookup
(
acc
->
properties
,
ACCOUNT_TYPE
)
,
(
gchar
*
)
g_hash_table_lookup
(
acc
->
properties
,
ACCOUNT_ALIAS
)
)
;
body
=
g_markup_printf_escaped
(
_
(
"%d voice mails"
),
count
);
pixbuf
=
gdk_pixbuf_new_from_file
(
ICON_DIR
"/sflphone.png"
,
NULL
);
...
...
@@ -121,8 +121,8 @@ notify_current_account( account_t* acc )
notify_init
(
"sflphone"
);
body
=
g_markup_printf_escaped
(
_
(
"Calling with %s account <i>%s</i>"
)
,
g_hash_table_lookup
(
acc
->
properties
,
ACCOUNT_TYPE
)
,
g_hash_table_lookup
(
acc
->
properties
,
ACCOUNT_ALIAS
));
(
gchar
*
)
g_hash_table_lookup
(
acc
->
properties
,
ACCOUNT_TYPE
)
,
(
gchar
*
)
g_hash_table_lookup
(
acc
->
properties
,
ACCOUNT_ALIAS
));
title
=
g_markup_printf_escaped
(
_
(
"Current account"
));
...
...
sflphone-gtk/src/SFLnotify.h
View file @
87a17f39
...
...
@@ -28,6 +28,7 @@
#include
<dbus.h>
#include
<actions.h>
#include
<statusicon.h>
#include
<configwindow.h>
#define __TIMEOUT_MODE "default"
#define __TIMEOUT_TIME 30000 // 30 secondes
...
...
sflphone-gtk/src/accountwindow.c
View file @
87a17f39
...
...
@@ -122,7 +122,6 @@ show_account_window (account_t * a)
{
curAccountID
=
a
->
accountID
;
curAccountType
=
g_hash_table_lookup
(
currentAccount
->
properties
,
ACCOUNT_TYPE
);
g_print
(
"account window = %s
\n
"
,
g_hash_table_lookup
(
currentAccount
->
properties
,
ACCOUNT_ENABLED
));
curAccountEnabled
=
g_hash_table_lookup
(
currentAccount
->
properties
,
ACCOUNT_ENABLED
);
if
(
strcmp
(
curAccountType
,
"IAX"
)
==
0
)
{
...
...
sflphone-gtk/src/actions.c
View file @
87a17f39
...
...
@@ -73,8 +73,8 @@ status_bar_display_account( call_t* c)
if
(
c
->
accountID
!=
NULL
){
acc
=
account_list_get_by_id
(
c
->
accountID
);
msg
=
g_markup_printf_escaped
(
"%s account- %s"
,
g_hash_table_lookup
(
acc
->
properties
,
ACCOUNT_TYPE
),
g_hash_table_lookup
(
acc
->
properties
,
ACCOUNT_ALIAS
));
(
gchar
*
)
g_hash_table_lookup
(
acc
->
properties
,
ACCOUNT_TYPE
),
(
gchar
*
)
g_hash_table_lookup
(
acc
->
properties
,
ACCOUNT_ALIAS
));
status_bar_message_add
(
msg
,
__MSG_ACCOUNT_DEFAULT
);
g_free
(
msg
);
}
...
...
sflphone-gtk/src/configwindow.c
View file @
87a17f39
...
...
@@ -99,7 +99,7 @@ config_window_fill_account_list()
account_t
*
a
=
account_list_get_nth
(
i
);
if
(
a
)
{
g_print
(
"fill account list : %s
\n
"
,
g_hash_table_lookup
(
a
->
properties
,
ACCOUNT_ENABLED
));
g_print
(
"fill account list : %s
\n
"
,
(
gchar
*
)
g_hash_table_lookup
(
a
->
properties
,
ACCOUNT_ENABLED
));
gtk_list_store_append
(
accountStore
,
&
iter
);
gtk_list_store_set
(
accountStore
,
&
iter
,
COLUMN_ACCOUNT_ALIAS
,
g_hash_table_lookup
(
a
->
properties
,
ACCOUNT_ALIAS
),
// Name
...
...
@@ -369,7 +369,6 @@ select_active_output_audio_plugin()
{
GtkTreeModel
*
model
;
GtkTreeIter
iter
;
gchar
**
devices
;
gchar
*
plugin
;
gchar
*
tmp
;
...
...
@@ -1049,7 +1048,6 @@ create_audio_tab ()
GtkWidget
*
fileChooser
;
GtkWidget
*
titleLabel
;
GtkWidget
*
comboBox
;
GtkWidget
*
refreshButton
;
GtkCellRenderer
*
renderer
;
...
...
@@ -1230,10 +1228,6 @@ create_general_settings ()
GtkWidget
*
trayBox
;
GtkWidget
*
trayItem
;
GtkWidget
*
dialFrame
;
GtkWidget
*
dialBox
;
GtkWidget
*
dialItem
;
// Main widget
ret
=
gtk_vbox_new
(
FALSE
,
10
);
gtk_container_set_border_width
(
GTK_CONTAINER
(
ret
),
10
);
...
...
sflphone-gtk/src/configwindow.h
View file @
87a17f39
...
...
@@ -39,7 +39,6 @@ void update_combo_box( gchar* plugin );
void
default_account
(
GtkWidget
*
widget
,
gpointer
data
);
void
bold_if_default_account
(
GtkTreeViewColumn
*
col
,
GtkCellRenderer
*
rend
,
GtkTreeModel
*
tree_model
,
GtkTreeIter
*
iter
,
gpointer
data
);
void
default_codecs
(
GtkWidget
*
widget
,
gpointer
data
);
void
enable_account
(
GtkWidget
*
widget
,
gpointer
data
);
GtkWidget
*
create_codec_table
();
GtkWidget
*
create_accounts_tab
();
GtkWidget
*
create_audio_tab
();
...
...
sflphone-gtk/src/dbus.h
View file @
87a17f39
...
...
@@ -86,6 +86,7 @@ void dbus_start_hidden( void );
int
dbus_is_start_hidden
(
void
);
void
dbus_switch_popup_mode
(
void
);
int
dbus_popup_mode
(
void
);
void
dbus_start_tone
(
const
int
start
,
const
guint
type
);
/* Instance */
void
dbus_register
(
int
pid
,
gchar
*
name
);
...
...
sflphone-gtk/src/menus.c
View file @
87a17f39
...
...
@@ -484,8 +484,6 @@ create_view_menu()
GtkWidget
*
menu
;
GtkWidget
*
root_menu
;
GtkWidget
*
menu_items
;
GtkWidget
*
submenu
;
GtkWidget
*
submenu_items
;
menu
=
gtk_menu_new
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment