aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ekiga/ekiga/static-fix.diff
blob: 3c345be5c432a2454c7bc2721f8e85af19bbdc06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--- /tmp/misc.cpp	2009-01-18 21:24:26.000000000 +0100
+++ ekiga-3.0.2/src/gui/misc.cpp	2009-01-18 21:24:47.000000000 +0100
@@ -75,42 +75,6 @@
   return button;
 }
 
-
-
-/* This function overrides from a pwlib function */
-#ifndef STATIC_LIBS_USED
-static gboolean
-assert_error_msg (gpointer data)
-{
-  GtkWidget *main_window = NULL;
-
-  main_window = GnomeMeeting::Process ()->GetMainWindow ();
-
-  
-  //gdk_threads_enter ();
-  std::cout << "FIXME" << std::endl << std::flush;
-  //FIXME Should use a signal in the runtime.
-  gnomemeeting_error_dialog (GTK_WINDOW (main_window), 
-			     _("Error"),
-			     "%s", (gchar *) data);
-  //gdk_threads_leave ();
-
-  return FALSE;
-}
-
-
-void 
-PAssertFunc (G_GNUC_UNUSED const char *file,
-	     G_GNUC_UNUSED int line,
-	     G_GNUC_UNUSED const char *className,
-	     const char *msg)
-{
-  g_idle_add_full (G_PRIORITY_HIGH, assert_error_msg, g_strdup (msg), g_free);
-}
-#endif
-
-
-
 PString
 gnomemeeting_pstring_cut (PString s)
 {