Mercurial > audlegacy-plugins
comparison src/skins/ui_vis.c @ 3017:963796db51ea
Don't use deprecated gtk macros and types
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Thu, 09 Apr 2009 14:23:42 +0200 |
parents | 3134a0987162 |
children | 70eb8b174e15 |
comparison
equal
deleted
inserted
replaced
3016:767f4f0a6fd6 | 3017:963796db51ea |
---|---|
98 klass->doubled = ui_vis_toggle_scaled; | 98 klass->doubled = ui_vis_toggle_scaled; |
99 | 99 |
100 vis_signals[DOUBLED] = | 100 vis_signals[DOUBLED] = |
101 g_signal_new ("toggle-scaled", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION, | 101 g_signal_new ("toggle-scaled", G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION, |
102 G_STRUCT_OFFSET (UiVisClass, doubled), NULL, NULL, | 102 G_STRUCT_OFFSET (UiVisClass, doubled), NULL, NULL, |
103 gtk_marshal_VOID__VOID, G_TYPE_NONE, 0); | 103 g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); |
104 } | 104 } |
105 | 105 |
106 static void ui_vis_init(UiVis *vis) { | 106 static void ui_vis_init(UiVis *vis) { |
107 memset(voiceprint_data, 0, 16*76); | 107 memset(voiceprint_data, 0, 16*76); |
108 } | 108 } |